kotlin-math
/
com.curiouscreature.kotlin.math
/
rotation
rotation
fun
rotation
(m:
Mat4
):
Mat4
Content copied to clipboard
fun
rotation
(d:
Float3
):
Mat4
Content copied to clipboard
fun
rotation
(axis:
Float3
, angle:
Float
):
Mat4
Content copied to clipboard
Create a rotation matrix.
The axis vector SHOULD be normalized.