openrndr / org.openrndr.math.transforms / rotate

rotate

fun Matrix44.Companion.rotate(axis: Vector3, angle: Double): Matrix44 (source)

Create a rotation matrix around the given axes

axis the axis to rotate around angle the angle in degrees