Use true pitch/yaw/roll rotations without loss of precision by pgimeno (#8019)
authorPaul Ouellette <oue.paul18@gmail.com>
Thu, 7 Feb 2019 21:26:06 +0000 (16:26 -0500)
committerParamat <paramat@users.noreply.github.com>
Thu, 7 Feb 2019 21:26:06 +0000 (21:26 +0000)
commitd5456da69de6d74206a8513fc53db38c7dd4bd22
treee0586b970acf83833c54166caaa00a9b8820bc05
parentfc566e2e1074e501283d4be70a654d6b79ef07ff
Use true pitch/yaw/roll rotations without loss of precision by pgimeno (#8019)

Store the rotation in the node as a 4x4 transformation matrix internally (through IDummyTransformationSceneNode), which allows more manipulations without losing precision or having gimbal lock issues.

Network rotation is still transmitted as Eulers, though, not as matrix. But it will stay this way in 5.0.
doc/lua_api.txt
src/client/content_cao.cpp
src/client/content_cao.h
src/irrlichttypes_extrabloated.h
src/network/networkprotocol.h
src/unittest/test_utilities.cpp
src/util/numeric.cpp
src/util/numeric.h