mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Update vector3.lua
This commit is contained in:
parent
420ce2bc15
commit
8f6555da7f
1 changed files with 1 additions and 0 deletions
|
|
@ -160,6 +160,7 @@ function vector3:abtw(vector)
|
|||
return math.acos(dot_prod / len_prod)
|
||||
end
|
||||
|
||||
|
||||
-- rot vec3
|
||||
-- @param angle {number} -> float || int
|
||||
-- @param axis {string} .. if nil => rot axis z
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue