leonardus

Results 4 issues of leonardus

``` >luarocks install lyaml YAML_DIR="C:\PROGRAM FILES\LIBYAML" YAML_INCDIR="C:\PROGRAM FILES\LIBYAML\INCLUDE" YAML_LIBDIR="C:\PROGRAM FILES\LIBYAML" Installing https://luarocks.org/lyaml-6.2.8-1.src.rock lyaml 6.2.8-1 depends on lua >= 5.1, < 5.5 (5.4-1 provided by VM) C:\Program Files\lua/lua.exe build-aux/luke package="lyaml" version="6.2.8"...

CPML documentation states that cpml matrices are column-major. ```lua local testmatrix = cpml.mat4.new{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16} ``` This...

bug
inconsistency

cpml/modules/mat4.lua: ```lua local rx, ry, rz, rw = rot.x, rot.y, rot.z, rot.w local rm = new { 1-2*(ry*ry+rz*rz), 2*(rx*ry-rz*rw), 2*(rx*rz+ry*rw), 0, 2*(rx*ry+rz*rw), 1-2*(rx*rx+rz*rz), 2*(ry*rz-rx*rw), 0, 2*(rx*rz-ry*rw), 2*(ry*rz+rx*rw), 1-2*(rx*rx+ry*ry), 0, 0,...

bug
inconsistency

Please add a `cpml.mat4.decompose()` function that will decompose a matrix into its Vector3 scale, Quaternion rotation, and Vector3 translation components.

enhancement