diff src/zamikongine/mesh.nim @ 499:3f1111f3b9f8

did: tons of stuff, input, refactoring, fix some errors, some template improvment, sorry for super-commit
author Sam <sam@basx.dev>
date Wed, 18 Jan 2023 09:52:03 +0700
parents 0c18638c7217
children
line wrap: on
line diff
--- a/src/zamikongine/mesh.nim	Mon Jan 16 00:51:03 2023 +0700
+++ b/src/zamikongine/mesh.nim	Wed Jan 18 09:52:03 2023 +0700
@@ -107,5 +107,5 @@
   data: @[Vec2[T]([T(0), T(0)]), Vec2[T]([T(0), T(1)]), Vec2[T]([T(1), T(1)]), Vec2[T]([T(1), T(0)])]
 )
 func squareIndices*[T:uint16|uint32](): auto = seq[array[3, T]](
-  @[[T(1), T(0), T(3)], [T(2), T(1), T(3)], ]
+  @[[T(0), T(1), T(3)], [T(2), T(1), T(3)]]
 )