Pedro Gimeno's gists (pastes with history), each in an independent (orphan) branch
Pedro Gimeno 75127ac394 Convert a rotation matrix aligned with the axes (ie. where all rows or columns have a single nonzero value which is -1 or 1) to a facedir value. | %!s(int64=5) %!d(string=hai) anos | |
---|---|---|
README.md | %!s(int64=5) %!d(string=hai) anos | |
matrix_to_facedir.lua | %!s(int64=5) %!d(string=hai) anos |
Convert a rotation matrix aligned with the axes (ie. where all rows or columns have a single nonzero value which is -1 or 1) to a facedir value.
Thanks to entuland for making it much easier to create the table.