diff options
Diffstat (limited to 'demo/Primitives.lua')
-rw-r--r-- | demo/Primitives.lua | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/demo/Primitives.lua b/demo/Primitives.lua deleted file mode 100644 index 09142a5..0000000 --- a/demo/Primitives.lua +++ /dev/null @@ -1,20 +0,0 @@ -local Primitives = {} - -function Primitives.plane(width, height) - return honey.buildMesh{ position = { 0, 0, 0, - width, 0, 0, - 0, height, 0, - width, height, 0 }, - normal = { 0, 0, 1, - 0, 0, 1, - 0, 0, 1, - 0, 0, 1 }, - uv = { 0, 0, - 1, 0, - 0, 1, - 1, 1 }, - faces = { 1, 2, 3, - 4, 2, 1 } } -end - -return Primitives |