aboutsummaryrefslogtreecommitdiff
path: root/src/raylib.h
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2014-04-04 20:11:57 +0200
committerraysan5 <raysan5@gmail.com>2014-04-04 20:11:57 +0200
commitc04f37d0f5f75c3e112d71444e589513396c9d0f (patch)
tree22390fc34202b679cc72319b3f8b99214be98905 /src/raylib.h
parent79cf87d91da236fbff71357191cc11bb3eddab8a (diff)
downloadraylib-c04f37d0f5f75c3e112d71444e589513396c9d0f.tar.gz
raylib-c04f37d0f5f75c3e112d71444e589513396c9d0f.zip
Adapt multiple functions to rlgl
Nearly a complete rework of Models module Some teaks on multiple functions
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 4534c5ec..450d2e6f 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -355,15 +355,17 @@ const char *FormatText(const char *text, ...);
void DrawCube(Vector3 position, float width, float height, float lenght, Color color); // Draw cube
void DrawCubeV(Vector3 position, Vector3 size, Color color); // Draw cube (Vector version)
void DrawCubeWires(Vector3 position, float width, float height, float lenght, Color color); // Draw cube wires
+void DrawCubeTexture(Texture2D texture, Vector3 position, float width, float height, float lenght, Color color); // Draw cube textured
void DrawSphere(Vector3 centerPos, float radius, Color color); // Draw sphere
void DrawSphereEx(Vector3 centerPos, float radius, int rings, int slices, Color color); // Draw sphere with extended parameters
-void DrawSphereWires(Vector3 centerPos, float radius, Color color); // Draw sphere wires
+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 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))
-void DrawGizmo(Vector3 position, bool orbits); // Draw gizmo (with or without orbits)
+void DrawGizmo(Vector3 position); // Draw simple gizmo
+void DrawGizmoEx(Vector3 position, Vector3 rotation, float scale, bool orbits); // Draw gizmo with extended parameters
//DrawTorus(), DrawTeapot() are useless...
//------------------------------------------------------------------------------------