Add flip_y_up_to_z_up method to Matrix4#381
Add flip_y_up_to_z_up method to Matrix4#381FredrikNoren wants to merge 1 commit intorustgd:masterfrom
Conversation
This is for converting between models which often come in a y-up coordinate system (maya) and game which often use a z-up system. Math from http://stackoverflow.com/questions/22571364/threejs-matrix-from-z-up-coordinate-system-to-y-up-coordinate-system
|
Aha, interesting! Will have to think about what the best API/naming should be |
|
Yeah I was going back and fort a bit. Maybe something like just flip_yz is
|
|
How likely is it that there are other coordinate systems? And will we need this for the other transformation types? cc. @mhintz |
|
I think y vs z up is the most common issue.
|
This is for converting between models which often come in a y-up coordinate system (maya) and game which often use a z-up system.
Math from http://stackoverflow.com/questions/22571364/threejs-matrix-from-z-up-coordinate-system-to-y-up-coordinate-system