DrawCapsule and DrawCapsuleWires. Free Camera3D example.

This commit is contained in:
jussi
2023-04-25 19:28:54 +03:00
parent a9ce78128d
commit 8b6337446d
9 changed files with 181 additions and 1 deletions

18
API.md
View File

@@ -4081,6 +4081,24 @@ Draw a cylinder wires with base at startPos and top at endPos
---
> success = RL.DrawCapsule( Vector3 startPos, Vector3 endPos, float radius, int slices, int rings, Color color )
Draw a capsule with the center of its sphere caps at startPos and endPos
- Failure return false
- Success return true
---
> success = RL.DrawCapsuleWires( Vector3 startPos, Vector3 endPos, float radius, int slices, int rings, Color color )
Draw capsule wireframe with the center of its sphere caps at startPos and endPos
- Failure return false
- Success return true
---
> success = RL.DrawPlane( Vector3 centerPos, Vector2 size, Color color )
Draw a plane XZ