DrawBillboardPro and rlglGetVersion.

This commit is contained in:
jussi
2023-05-10 21:21:40 +03:00
parent 1e58f551bb
commit b387742850
10 changed files with 233 additions and 2 deletions

33
API.md
View File

@@ -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
---