Commit Graph

3 Commits

Author SHA1 Message Date
halx99 3282e1abaf Improve vec2, vec3, vec4 lua storage
a. store as fixed size array
b. use metatable access via: x, y, z, w
c. For vec2
  - vec2[0] could be access via x or w(idth) or u
  - vec2[1] could be access via y or h(eight) or v
2022-01-03 22:06:49 +08:00
halx99 863bd35676 Finish #244 2020-10-25 16:25:08 +08:00
HALX99 90ecc475f0
Refactor modules (#238) 2020-10-17 16:32:16 +08:00