diff options
| author | raysan5 <raysan5@gmail.com> | 2014-12-16 11:15:56 +0100 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2014-12-16 11:15:56 +0100 |
| commit | 2e5f58255a391323fef54afc895a1d5a8ba06344 (patch) | |
| tree | b13e79f6831a6bb8f61fc46f1c694304c6061825 /src/raylib.h | |
| parent | cfa60ab7e6313f85594f63d2830fdc2ce19e180e (diff) | |
| download | raylib-2e5f58255a391323fef54afc895a1d5a8ba06344.tar.gz raylib-2e5f58255a391323fef54afc895a1d5a8ba06344.zip | |
Working on rotation math...
[models] Added DrawQuad()
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index c061a9b0..89648ef1 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -446,6 +446,7 @@ void DrawSphereEx(Vector3 centerPos, float radius, int rings, int slices, Color void DrawSphereWires(Vector3 centerPos, float radius, int rings, int slices, Color color); // Draw sphere wires void DrawCylinder(Vector3 position, float radiusTop, float radiusBottom, float height, int slices, Color color); // Draw a cylinder/cone void DrawCylinderWires(Vector3 position, float radiusTop, float radiusBottom, float height, int slices, Color color); // Draw a cylinder/cone wires +void DrawQuad(Vector3 vertices[4], Vector2 textcoords[4], Vector3 normals[4], Color colors[4]); // Draw a quad void DrawPlane(Vector3 centerPos, Vector2 size, Vector3 rotation, Color color); // Draw a plane void DrawPlaneEx(Vector3 centerPos, Vector2 size, Vector3 rotation, int slicesX, int slicesZ, Color color); // Draw a plane with divisions void DrawGrid(int slices, float spacing); // Draw a grid (centered at (0, 0, 0)) |
