mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 22:11:51 +00:00
add quat Lua library
This commit is contained in:
parent
b5e7b63a9d
commit
e0cb57a10a
10 changed files with 152 additions and 27 deletions
|
|
@ -4,19 +4,6 @@
|
|||
|
||||
Most functions have several options for argument lists (overloads).
|
||||
|
||||
## Data types
|
||||
|
||||
Type conventions will be used on this page.
|
||||
- vector - an array of three or four numbers
|
||||
- vec3 - array of three numbers
|
||||
- vec4 - array of four numbers
|
||||
- quat - array of four numbers - quaternion
|
||||
- matrix - array of 16 numbers - matrix
|
||||
|
||||
> [!WARNING]
|
||||
>
|
||||
> Type annotations are part of the documentation and are not present in Lua.
|
||||
|
||||
## Identity matrix - *mat4.idt(...)*
|
||||
|
||||
```lua
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue