summaryrefslogtreecommitdiffhomepage
path: root/src/models.c
diff options
context:
space:
mode:
authorRay <[email protected]>2021-03-24 17:02:40 +0100
committerRay <[email protected]>2021-03-24 17:02:40 +0100
commit9bea64b5e460b20b655f951d1b3a6293c9fa9c3e (patch)
tree0396b751efecda074c9ae08881ae17cea1824f8d /src/models.c
parent9047025ab74c0c60559c73272eb6d0ba486c6d63 (diff)
downloadraylib-9bea64b5e460b20b655f951d1b3a6293c9fa9c3e.tar.gz
raylib-9bea64b5e460b20b655f951d1b3a6293c9fa9c3e.zip
REMOVED: DrawGizmo()
This is a very simple and specific implementation that should be better addressed by the users
Diffstat (limited to 'src/models.c')
-rw-r--r--src/models.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/models.c b/src/models.c
index cecc169e..af2f6d97 100644
--- a/src/models.c
+++ b/src/models.c
@@ -693,29 +693,6 @@ void DrawGrid(int slices, float spacing)
rlEnd();
}
-// Draw gizmo
-void DrawGizmo(Vector3 position)
-{
- // NOTE: RGB = XYZ
- float length = 1.0f;
-
- rlPushMatrix();
- rlTranslatef(position.x, position.y, position.z);
- rlScalef(length, length, length);
-
- rlBegin(RL_LINES);
- rlColor3f(1.0f, 0.0f, 0.0f); rlVertex3f(0.0f, 0.0f, 0.0f);
- rlColor3f(1.0f, 0.0f, 0.0f); rlVertex3f(1.0f, 0.0f, 0.0f);
-
- rlColor3f(0.0f, 1.0f, 0.0f); rlVertex3f(0.0f, 0.0f, 0.0f);
- rlColor3f(0.0f, 1.0f, 0.0f); rlVertex3f(0.0f, 1.0f, 0.0f);
-
- rlColor3f(0.0f, 0.0f, 1.0f); rlVertex3f(0.0f, 0.0f, 0.0f);
- rlColor3f(0.0f, 0.0f, 1.0f); rlVertex3f(0.0f, 0.0f, 1.0f);
- rlEnd();
- rlPopMatrix();
-}
-
// Load model from files (mesh and material)
Model LoadModel(const char *fileName)
{