Snapshot.rotate3d

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

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

class Snapshot
void
rotate3d
(
float angle
,)

Parameters

angle float

the rotation angle, in degrees (clockwise)

axis Vec3

The rotation axis

Meta