From b387742850a4d2d6b750f7cdc878ff00d7e4a5fb Mon Sep 17 00:00:00 2001 From: jussi Date: Wed, 10 May 2023 21:21:40 +0300 Subject: DrawBillboardPro and rlglGetVersion. --- API.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'API.md') diff --git a/API.md b/API.md index 44d4775..6700cff 100644 --- a/API.md +++ b/API.md @@ -921,6 +921,18 @@ LIGHT_DIRECTIONAL LIGHT_POINT +## Globals - rlGlVersion + +RL_OPENGL_11 + +RL_OPENGL_21 + +RL_OPENGL_33 + +RL_OPENGL_43 + +RL_OPENGL_ES_20 + ## Globals - OpenGL GL_COLOR_BUFFER_BIT @@ -4446,6 +4458,15 @@ Draw a billboard texture defined by source --- +> success = RL.DrawBillboardPro( Camera camera, Texture2D texture, Rectangle source, Vector3 position, Vector3 up, Vector2 size, Vector2 origin, float rotation, Color tint ) + +Draw a billboard texture defined by source and rotation + +- Failure return false +- Success return true + +--- + > success = RL.SetModelTransform( Model model, Matrix transform ) Set model transform matrix @@ -6460,6 +6481,18 @@ Get the line drawing width --- +## RLGL - Initialization functions + +--- + +> version = RL.rlGetVersion() + +Get current OpenGL version + +- Success return int + +--- + ## OpenGL - Framebuffer management --- -- cgit v1.2.3