Transform.rotate3d

Rotates @next @angle degrees around @axis.

For a rotation in 2D space, use [method@Gsk.Transform.rotate]

class Transform
rotate3d
(
float angle
,)

Parameters

angle float

the rotation angle, in degrees (clockwise)

axis Vec3

The rotation axis

Return Value

Type: Transform

The new transform

Meta