Snapshot.rotate3d

Rotates snapshot's coordinate system by angle degrees around axis.

For a rotation in 2D space, use gsk.transform.Transform.rotate.

class Snapshot
void
rotate3d

Parameters

angle float

the rotation angle, in degrees (clockwise)

axis graphene.vec3.Vec3

The rotation axis