Browse Source

Add Spinning_Cube;

bjorn 7 years ago
parent
commit
b3181c6597
2 changed files with 4 additions and 0 deletions
  1. 3 0
      examples/Spinning_Cube/main.lua
  2. 1 0
      examples/init.lua

+ 3 - 0
examples/Spinning_Cube/main.lua

@@ -0,0 +1,3 @@
+function lovr.draw()
+  lovr.graphics.cube('line', 0, 1.7, -1, .5, lovr.timer.getTime())
+end

+ 1 - 0
examples/init.lua

@@ -1,5 +1,6 @@
 return {
   'Hello_World',
+  'Spinning_Cube',
   'Primitives',
   '3D_Model',
   'Panorama',