summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-16 18:54:44 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-16 18:54:44 +1000
commita4074b0feb6b2194af7c175fe1826c8e550f10aa (patch)
tree91449852c57936780ae316ed7d4e8ff12e4e24a6 /examples
parent938e3944fd7d55951e794224e6346488d3c701ea (diff)
cone mesh
Diffstat (limited to 'examples')
-rw-r--r--examples/game_demo/game_demo.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/examples/game_demo/game_demo.c b/examples/game_demo/game_demo.c
index 919e306..2d0c11c 100644
--- a/examples/game_demo/game_demo.c
+++ b/examples/game_demo/game_demo.c
@@ -107,12 +107,14 @@ int main() {
// Shadow_Run(entities, entity_count);
// Quat rot = quat_from_axis_angle(VEC3_X, HALF_PI, true);
- Immdraw_Sphere(transform_create(VEC3_ZERO, quat_ident(), vec3(1.0, 3.0, 1.0)),
- vec4(1.0, 0.0, 0.0, 1.0), true);
- Immdraw_Cuboid(transform_create(vec3(4.0, 0.0, 0.0), quat_ident(), vec3(3.0, 0.5, 3.0)),
- vec4(1.0, 0.0, 0.0, 1.0), true);
- Immdraw_Bbox(transform_create(vec3(0.0, 0.0, 0.0), quat_ident(), vec3(2.0, 2.0, 2.0)),
- vec4(0.0, 1.0, 0.0, 1.0), true);
+ // Immdraw_Sphere(transform_create(VEC3_ZERO, quat_ident(), vec3(1.0, 3.0, 1.0)),
+ // vec4(1.0, 0.0, 0.0, 1.0), true);
+ // Immdraw_Cuboid(transform_create(vec3(4.0, 0.0, 0.0), quat_ident(), vec3(3.0, 0.5, 3.0)),
+ // vec4(1.0, 0.0, 0.0, 1.0), true);
+ // Immdraw_Bbox(transform_create(vec3(0.0, 0.0, 0.0), quat_ident(), vec3(2.0, 2.0, 2.0)),
+ // vec4(0.0, 1.0, 0.0, 1.0), true);
+ Immdraw_Cone(transform_create(VEC3_ZERO, quat_ident(), vec3(1.0, 2.0, 1.0)),
+ vec4(1.0, 1.0, 1.0, 1.0), true);
if (draw_debug) {
// draw the player model with shadows