1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

more stuff

This commit is contained in:
Lars Mueller 2025-05-31 02:57:21 +02:00
parent 0b8edb8019
commit 3de3bead7b
6 changed files with 75 additions and 42 deletions

View file

@ -4209,7 +4209,7 @@ Methods
`Rotation.compose()` is an alias for `Rotation.identity()`,
`Rotation:compose()` copies the rotation.
* `Rotation:invert()`: Returns the inverse rotation.
* `Rotation:slerp(from, to, time)`: Interpolate from one rotation to another.
* `Rotation.slerp(from, to, time)`: Interpolate from one rotation to another.
* `time = 0` is all `from`, `time = 1` is all `to`.
* `Rotation:angle_to(other)`: Returns the absolute angle between two quaternions.
* Useful to measure similarity.