From b387742850a4d2d6b750f7cdc878ff00d7e4a5fb Mon Sep 17 00:00:00 2001 From: jussi Date: Wed, 10 May 2023 21:21:40 +0300 Subject: DrawBillboardPro and rlglGetVersion. --- include/lrlgl.h | 2 ++ include/models.h | 3 +++ 2 files changed, 5 insertions(+) (limited to 'include') diff --git a/include/lrlgl.h b/include/lrlgl.h index 4394f00..c307302 100644 --- a/include/lrlgl.h +++ b/include/lrlgl.h @@ -3,3 +3,5 @@ /* General render state. */ int lrlglSetLineWidth( lua_State *L ); int lrlglGetLineWidth( lua_State *L ); +/* Initialization functions */ +int lrlglGetVersion( lua_State *L ); \ No newline at end of file diff --git a/include/models.h b/include/models.h index b36d4ce..d8e3b14 100644 --- a/include/models.h +++ b/include/models.h @@ -3,6 +3,8 @@ /* Internals. */ /* Deleted from raylib. Need for freeing models. */ void UnloadModelKeepMeshes( Model model ); +void DrawBillboardProNoRatio( Camera camera, Texture2D texture, Rectangle source, Vector3 position, Vector3 up, Vector2 size, Vector2 origin, float rotation, Color tint ); +void DrawBillboardRecNoRatio( Camera camera, Texture2D texture, Rectangle source, Vector3 position, Vector2 size, Color tint ); /* Basic. */ int lmodelsDrawLine3D( lua_State *L ); @@ -61,6 +63,7 @@ int lmodelsSetModelMaterial( lua_State *L ); int lmodelsSetModelMeshMaterial( lua_State *L ); int lmodelsDrawBillboard( lua_State *L ); int lmodelsDrawBillboardRec( lua_State *L ); +int lmodelsDrawBillboardPro( lua_State *L ); int lmodelsSetModelTransform( lua_State *L ); int lmodelsGetModelTransform( lua_State *L ); /* Animations. */ -- cgit v1.2.3