Commit Graph

3 Commits

Author SHA1 Message Date
halx99 2819d4f10d 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 f49cb01e1e Finish #244 2020-10-25 16:25:08 +08:00
halx99 b9c58a8420 Refactor modules (#238) 2020-10-17 16:32:16 +08:00