summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2024-05-10 18:14:37 -0400
committerrealtradam <[email protected]>2024-05-10 18:14:37 -0400
commit3c1eda45872ce11e82cebc729dd1981e73b79b49 (patch)
treeceb63c545ae048a787196f4aa0c61fef87490b1a
parent3249a9d1f225c941ec336872b5275af664d1851d (diff)
downloadtojam2024-3c1eda45872ce11e82cebc729dd1981e73b79b49.tar.gz
tojam2024-3c1eda45872ce11e82cebc729dd1981e73b79b49.zip
update gitignore and make game runnable
-rw-r--r--.gitignore3
-rw-r--r--main.c6
2 files changed, 6 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 9bf3746..4eb40e9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,4 @@
compile_commands.json
+build
+filesystem
+raylib.z64
diff --git a/main.c b/main.c
index fb0b0b5..0dee51d 100644
--- a/main.c
+++ b/main.c
@@ -28,8 +28,8 @@ bool xflag=false;
-void DrawCubeTexture(Texture2D texture, Vector3 position, float width, float height, float length, Color color); // Draw cube textured
-void DrawCubeTextureRec(Texture2D texture, Rectangle source, Vector3 position, float width, float height, float length, Color color); // Draw cube with a region of a texture
+//void DrawCubeTexture(Texture2D texture, Vector3 position, float width, float height, float length, Color color); // Draw cube textured
+//void DrawCubeTextureRec(Texture2D texture, Rectangle source, Vector3 position, float width, float height, float length, Color color); // Draw cube with a region of a texture
void updateController()
{
@@ -105,7 +105,7 @@ int main(void)
BeginMode3D(camera);
- DrawModel(model, position, 2.0f, WHITE);
+ //DrawModel(model, position, 2.0f, WHITE);
// Draw cube with an applied texture
//DrawCubeTexture(texture, (Vector3){ -0.0f, 0.0f, 0.0f }, 2.0f, 4.0f, 2.0f, WHITE);