diff src/semicongine/glsl_helpers.nim @ 58:8287a91e5d56

did: refactor Matrix names
author Sam <sam@basx.dev>
date Fri, 20 Jan 2023 16:36:52 +0700
parents 547f3a374271
children
line wrap: on
line diff
--- a/src/semicongine/glsl_helpers.nim	Fri Jan 20 16:13:32 2023 +0700
+++ b/src/semicongine/glsl_helpers.nim	Fri Jan 20 16:36:52 2023 +0700
@@ -50,18 +50,18 @@
   elif T is TVec4[float32]: "vec4"
   elif T is TVec4[float64]: "dvec4"
 
-  elif T is Mat22[float32]: "mat2"
-  elif T is Mat23[float32]: "mat32"
-  elif T is Mat32[float32]: "mat23"
-  elif T is Mat33[float32]: "mat3"
-  elif T is Mat34[float32]: "mat43"
-  elif T is Mat43[float32]: "mat34"
-  elif T is Mat44[float32]: "mat4"
+  elif T is TMat22[float32]: "mat2"
+  elif T is TMat23[float32]: "mat32"
+  elif T is TMat32[float32]: "mat23"
+  elif T is TMat33[float32]: "mat3"
+  elif T is TMat34[float32]: "mat43"
+  elif T is TMat43[float32]: "mat34"
+  elif T is TMat44[float32]: "mat4"
 
-  elif T is Mat22[float64]: "dmat2"
-  elif T is Mat23[float64]: "dmat32"
-  elif T is Mat32[float64]: "dmat23"
-  elif T is Mat33[float64]: "dmat3"
-  elif T is Mat34[float64]: "dmat43"
-  elif T is Mat43[float64]: "dmat34"
-  elif T is Mat44[float64]: "dmat4"
+  elif T is TMat22[float64]: "dmat2"
+  elif T is TMat23[float64]: "dmat32"
+  elif T is TMat32[float64]: "dmat23"
+  elif T is TMat33[float64]: "dmat3"
+  elif T is TMat34[float64]: "dmat43"
+  elif T is TMat43[float64]: "dmat34"
+  elif T is TMat44[float64]: "dmat4"