summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorUneven Prankster <[email protected]>2021-09-21 10:22:30 -0300
committerGitHub <[email protected]>2021-09-21 15:22:30 +0200
commit339fdf4c310c3076c6d95eff7383bd88c45a719c (patch)
treeef12a2f849a9676c515b4ace94ed27485b13a184 /src/raylib.h
parentc96de3a23a616030c787daf8df3593ae0f8a7aaf (diff)
downloadraylib-339fdf4c310c3076c6d95eff7383bd88c45a719c.tar.gz
raylib-339fdf4c310c3076c6d95eff7383bd88c45a719c.zip
Add `up` argument to `DrawBillboardPro` (#1941)
* Add `up` argument to `DrawBillboardPro` * Replace tab with proper spaces
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h
index bb698a45..fba8e513 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -1403,7 +1403,7 @@ RLAPI void DrawModelWiresEx(Model model, Vector3 position, Vector3 rotationAxis,
RLAPI void DrawBoundingBox(BoundingBox box, Color color); // Draw bounding box (wires)
RLAPI void DrawBillboard(Camera camera, Texture2D texture, Vector3 position, float size, Color tint); // Draw a billboard texture
RLAPI void DrawBillboardRec(Camera camera, Texture2D texture, Rectangle source, Vector3 position, Vector2 size, Color tint); // Draw a billboard texture defined by source
-RLAPI void DrawBillboardPro(Camera camera, Texture2D texture, Rectangle source, Vector3 position, Vector2 size, Vector2 origin, float rotation, Color tint); // Draw a billboard texture defined by source and rotation
+RLAPI void 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
// Mesh management functions
RLAPI void UploadMesh(Mesh *mesh, bool dynamic); // Upload mesh vertex data in GPU and provide VAO/VBO ids