Color pixel functions.

This commit is contained in:
jussi
2022-02-27 19:31:28 +02:00
parent da446b40b6
commit c3ae0a6c28
6 changed files with 456 additions and 24 deletions

View File

@@ -10,6 +10,7 @@ void luaRegister();
Color uluaGetColor( lua_State *L );
Vector2 uluaGetVector2( lua_State *L );
Vector3 uluaGetVector3( lua_State *L );
Vector4 uluaGetVector4( lua_State *L );
Rectangle uluaGetRectangle( lua_State *L );
Quaternion uluaGetQuaternion( lua_State *L );
Matrix uluaGetMatrix( lua_State *L );
@@ -20,6 +21,7 @@ NPatchInfo uluaGetNPatchInfo( lua_State *L );
void uluaPushColor( lua_State *L, Color color );
void uluaPushVector2( lua_State *L, Vector2 vector );
void uluaPushVector3( lua_State *L, Vector3 vector );
void uluaPushVector4( lua_State *L, Vector4 vector );
void uluaPushRectangle( lua_State *L, Rectangle rect );
void uluaPushMatrix( lua_State *L, Matrix matrix );
void uluaPushRayCollision( lua_State *L, RayCollision rayCol );