From 8b6337446dd79faf226ea9df40d4d06d81c38436 Mon Sep 17 00:00:00 2001 From: jussi Date: Tue, 25 Apr 2023 19:28:54 +0300 Subject: DrawCapsule and DrawCapsuleWires. Free Camera3D example. --- API.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'API.md') diff --git a/API.md b/API.md index d475109..6d64296 100644 --- a/API.md +++ b/API.md @@ -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 -- cgit v1.2.3