Mercurial > games > semicongine
diff src/zamikongine/mesh.nim @ 38:c3c963e7c1a6
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 | 94c38e4b5782 |
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)]] )