Update raylib.h

Added function declaration for DrawArc()
This commit is contained in:
Eric J 2021-07-11 15:17:07 -04:00 committed by GitHub
parent a86e313d5e
commit f9e1520231
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1370,6 +1370,7 @@ RLAPI void DrawSphereEx(Vector3 centerPos, float radius, int rings, int slices,
RLAPI void DrawSphereWires(Vector3 centerPos, float radius, int rings, int slices, Color color); // Draw sphere wires
RLAPI void DrawCylinder(Vector3 position, float radiusTop, float radiusBottom, float height, int slices, Color color); // Draw a cylinder/cone
RLAPI void DrawCylinderWires(Vector3 position, float radiusTop, float radiusBottom, float height, int slices, Color color); // Draw a cylinder/cone wires
RLAPI void DrawArc(Vector3 v1, Vector3 v2, float iradius, float theta, int steps, Color color); // Draws an arc between two points
RLAPI void DrawPlane(Vector3 centerPos, Vector2 size, Color color); // Draw a plane XZ
RLAPI void DrawRay(Ray ray, Color color); // Draw a ray line
RLAPI void DrawGrid(int slices, float spacing); // Draw a grid (centered at (0, 0, 0))