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:
parent
0b8edb8019
commit
3de3bead7b
6 changed files with 75 additions and 42 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue