Vector3RotateByAxisAngle was not connected.
This commit is contained in:
@@ -64,6 +64,7 @@ Detailed changes:
|
||||
- REMOVED: GetTextureSource
|
||||
- REMOVED: UnloadRenderTexture
|
||||
- ADDED: GetTextureType
|
||||
- FIXED: Vector3RotateByAxisAngle was not connected.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Release: ReiLua version 0.4.0 Using Raylib 4.2
|
||||
|
||||
@@ -45,6 +45,8 @@ Vector3.meta = {
|
||||
function Vector3:new( x, y, z )
|
||||
if type( x ) == "table" then
|
||||
x, y, z = table.unpack( x )
|
||||
elseif type( x ) == "nil" then
|
||||
x, y, z = 0, 0, 0
|
||||
end
|
||||
|
||||
local object = setmetatable( {}, Vector3.meta )
|
||||
|
||||
@@ -61,6 +61,7 @@ int lmathVector3Normalize( lua_State *L );
|
||||
int lmathVector3OrthoNormalize( lua_State *L );
|
||||
int lmathVector3Transform( lua_State *L );
|
||||
int lmathVector3RotateByQuaternion( lua_State *L );
|
||||
int lmathVector3RotateByAxisAngle( lua_State *L );
|
||||
int lmathVector3Lerp( lua_State *L );
|
||||
int lmathVector3Reflect( lua_State *L );
|
||||
int lmathVector3Min( lua_State *L );
|
||||
|
||||
@@ -1221,6 +1221,7 @@ void luaRegister() {
|
||||
assingGlobalFunction( "Vector3OrthoNormalize", lmathVector3OrthoNormalize );
|
||||
assingGlobalFunction( "Vector3Transform", lmathVector3Transform );
|
||||
assingGlobalFunction( "Vector3RotateByQuaternion", lmathVector3RotateByQuaternion );
|
||||
assingGlobalFunction( "Vector3RotateByAxisAngle", lmathVector3RotateByAxisAngle );
|
||||
assingGlobalFunction( "Vector3Lerp", lmathVector3Lerp );
|
||||
assingGlobalFunction( "Vector3Reflect", lmathVector3Reflect );
|
||||
assingGlobalFunction( "Vector3Min", lmathVector3Min );
|
||||
|
||||
Reference in New Issue
Block a user