CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
Quaternion.hpp File Reference
#include "Forward.hpp"
#include "CeresEngine/Macros.hpp"
#include "CeresEngine/Foundation/Hash.hpp"
#include <glm/ext/quaternion_geometric.hpp>
#include <glm/ext/quaternion_transform.hpp>
#include <glm/ext/quaternion_trigonometric.hpp>
#include <glm/gtc/quaternion.hpp>

Go to the source code of this file.

Namespaces

namespace  Math
 

Macros

#define IMPORT_FROM_GLM(Symbol)
 
#define REFL_DECLARE_CE_QUATERNION(T)
 

Typedefs

template<typename T = double>
using Math::TQuaternion = glm::qua< T, glm::highp >
 A quaternion type that uses a internal representation of type T
 
using Math::Quaternion = TQuaternion< double >
 A quaternion type. Data is internally represented as double.
 
using Math::Quaternionf = TQuaternion< float >
 A quaternion type. Data is internally represented as float.
 

Macro Definition Documentation

◆ IMPORT_FROM_GLM

#define IMPORT_FROM_GLM (   Symbol)
Value:
namespace CeresEngine::inline Math { \
using glm::Symbol; \
}
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
Definition Angle.hpp:20

◆ REFL_DECLARE_CE_QUATERNION

#define REFL_DECLARE_CE_QUATERNION (   T)