Transform.rotate3d

Rotates next angle degrees around axis.

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

Parameters

angle float

the rotation angle, in degrees (clockwise)

axis graphene.vec3.Vec3

The rotation axis

Return Value

Type: gsk.transform.Transform

The new transform