diff options
| author | nobytesgiven <[email protected]> | 2021-05-11 01:55:43 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-05-11 00:55:43 +0200 |
| commit | ac204a11f7eb5d03e88188b06d004bb680902bfb (patch) | |
| tree | 491ddd7106c6f56d587ba887b351b1f99a7af519 /src/raylib.h | |
| parent | 4ab28fffb42bc3104bca48166ea4d7712450852d (diff) | |
| download | raylib-ac204a11f7eb5d03e88188b06d004bb680902bfb.tar.gz raylib-ac204a11f7eb5d03e88188b06d004bb680902bfb.zip | |
Redesigned billboards - added rotation/pro functions (#1759)
* Redesigned billboards - added rotation/pro functions
* updated parameters
Co-authored-by: nobytesgiven <[email protected]>
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h index 4caed913..c525ad2f 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1444,7 +1444,9 @@ RLAPI void DrawModelWires(Model model, Vector3 position, float scale, Color tint RLAPI void DrawModelWiresEx(Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint); // Draw a model wires (with texture if set) with extended parameters RLAPI void DrawBoundingBox(BoundingBox box, Color color); // Draw bounding box (wires) RLAPI void DrawBillboard(Camera camera, Texture2D texture, Vector3 center, float size, Color tint); // Draw a billboard texture -RLAPI void DrawBillboardRec(Camera camera, Texture2D texture, Rectangle source, Vector3 center, float size, Color tint); // Draw a billboard texture defined by source +RLAPI void DrawBillboardRec(Camera camera, Texture2D texture, Rectangle source, Vector3 center, Vector2 size, Color tint); // Draw a billboard texture defined by source +RLAPI void DrawBillboardEx(Camera camera, Texture2D texture, Vector3 center, Vector2 origin, float rotation, Vector2 size, Color tint); // Draw a billboard texture defined by rotation +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 // Collision detection functions RLAPI bool CheckCollisionSpheres(Vector3 center1, float radius1, Vector3 center2, float radius2); // Detect collision between two spheres |
