DarkRadiant: master 552f54b0

Author Committer Branch Timestamp Parent
orbweaver orbweaver master 21.03.2021 14:16 master ff8f21f0
Changeset Merge getRotationAboutZ degree and radian versions

Instead of two separate methods, there is now a single templated method
getRotationAboutZ which accepts a class which must define toRadians(). Two such
classes are added: math::Degrees and math::Radians, both of which have explict
constructors (so calling code must be clear about whether the provided angle is
in degrees or radians).
mod - libs/math/Matrix4.h Diff File
mod - libs/math/pi.h Diff File
mod - radiantcore/entity/AngleKey.cpp Diff File
mod - radiantcore/entity/RotationMatrix.cpp Diff File
mod - radiantcore/entity/generic/GenericEntityNode.cpp Diff File
mod - radiantcore/particles/RenderableParticleStage.cpp Diff File
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.cpp Diff File
mod - radiantcore/selection/algorithm/Transformation.cpp Diff File
mod - test/math/Matrix4.cpp Diff File