suzanne
[gba_blender] / src / main.c
index f95428f..bd0b287 100644 (file)
@@ -92,7 +92,8 @@ int main(void)
                xgl_translate(0, 0, 5 << 16);
                xgl_rotate_x(cam_phi);
                xgl_rotate_y(cam_theta);
-               xgl_draw(XGL_QUADS, cube, sizeof cube / sizeof *cube);
+//             xgl_draw(XGL_QUADS, cube, sizeof cube / sizeof *cube);
+               xgl_draw(XGL_TRIANGLES, suzanne, sizeof suzanne / sizeof *suzanne);
 
                wait_vblank();
                present(backbuf);