summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/game_demo/game_demo.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/game_demo/game_demo.c b/examples/game_demo/game_demo.c
index 22af64e..1b86028 100644
--- a/examples/game_demo/game_demo.c
+++ b/examples/game_demo/game_demo.c
@@ -106,8 +106,10 @@ int main() {
ModelExtractRenderEnts(render_entities, cube_handle, affine, REND_ENT_CASTS_SHADOWS);
// Shadow_Run(entities, entity_count);
- Quat rot = quat_from_axis_angle(VEC3_X, HALF_PI, true);
- Immdraw_Sphere(transform_create(VEC3_ZERO, rot, 1.0), 1.0, vec4(1.0, 0.0, 0.0, 1.0), false);
+ // Quat rot = quat_from_axis_angle(VEC3_X, HALF_PI, true);
+ Immdraw_Sphere(transform_create(VEC3_ZERO, quat_ident(), 0.5), vec4(1.0, 0.0, 0.0, 1.0), false);
+ Immdraw_Cuboid(transform_create(vec3(2.0, 0.0, 0.0), quat_ident(), 1.0),
+ vec4(1.0, 0.0, 0.0, 1.0), false);
// if (draw_debug) {
// // draw the player model with shadows