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. | 5 gadi atpakaļ | |
---|---|---|
README.md | 5 gadi atpakaļ | |
matrix_to_facedir.lua | 5 gadi atpakaļ |
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.