diff options
| author | jussi | 2023-05-10 21:21:40 +0300 |
|---|---|---|
| committer | jussi | 2023-05-10 21:21:40 +0300 |
| commit | b387742850a4d2d6b750f7cdc878ff00d7e4a5fb (patch) | |
| tree | 585ab2374c0c1821f85e0c1340ff44d6dd0fea5c /include | |
| parent | 1e58f551bbfb6a8ef4d83292685d7c3672385c8b (diff) | |
| download | reilua-enhanced-b387742850a4d2d6b750f7cdc878ff00d7e4a5fb.tar.gz reilua-enhanced-b387742850a4d2d6b750f7cdc878ff00d7e4a5fb.tar.bz2 reilua-enhanced-b387742850a4d2d6b750f7cdc878ff00d7e4a5fb.zip | |
DrawBillboardPro and rlglGetVersion.
Diffstat (limited to 'include')
| -rw-r--r-- | include/lrlgl.h | 2 | ||||
| -rw-r--r-- | include/models.h | 3 |
2 files changed, 5 insertions, 0 deletions
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. */ |
