载入中...
搜索中...
未找到
TransformEuler.h 文件参考
#include <glm/glm.hpp>
#include <glm/gtc/quaternion.hpp>
#include <glm/gtx/euler_angles.hpp>

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 

宏定义

#define GLM_ENABLE_EXPERIMENTAL
 

函数

template<typename T >
void eve::eulerYxzFromMatrix (const glm::mat< 4, 4, T, glm::defaultp > &m, T &yaw, T &pitch, T &roll)
 Yaw/pitch/roll for the engine's transform order T * Ry * Rx * Rz * S.
 
template<typename T >
void eve::eulerYxzFromQuat (const glm::qua< T, glm::defaultp > &q, T &yaw, T &pitch, T &roll)
 Quaternion overload of eulerYxzFromMatrix(); float and double both work.
 

宏定义说明

◆ GLM_ENABLE_EXPERIMENTAL

#define GLM_ENABLE_EXPERIMENTAL

在文件 TransformEuler.h 第 6 行定义.