Transform.rotate3d

gsk.transform.Transform rotate3d(float angle, graphene.vec3.Vec3 axis)

Rotates next angle degrees around axis.

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

Parameters

anglethe rotation angle, in degrees (clockwise)
axisThe rotation axis

Returns

The new transform