REMOVED: DrawGizmo()

This is a very simple and specific implementation that should be better addressed by the users
This commit is contained in:
Ray 2021-03-24 17:02:40 +01:00
parent 9047025ab7
commit 9bea64b5e4
2 changed files with 0 additions and 24 deletions

View file

@ -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)
{