Package: gsk

Function gsk:transform-rotate-3d

Lambda List

gsk:transform-rotate-3d (transform angle axis)

Arguments

transform -- a gsk:transform instance
angle -- a number coerced to a single float with the rotation angle, in degrees and clockwise
axis -- a graphene:vec3-t instance with the rotation axis

Return Value

The new gsk:transform instance.

Details

Rotates the transform matrix angle degrees around axis. For a rotation in 2D space, use the gsk:transform-rotate function.
 

See also

2024-4-21