Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Grindstone::Math Namespace Reference

Classes

struct  Box3D
struct  EulerAngles
struct  ExportableQuaternion
struct  ExportableVector
struct  Float2
struct  Float3
struct  Float4
struct  IntBox3D
struct  IntRect2D
struct  Quaternion
struct  Rect2D

Typedefs

using Int = int
using Int2 = glm::tvec2<int, glm::highp>
using Int3 = glm::tvec3<int, glm::highp>
using Int4 = glm::tvec4<int, glm::highp>
using Uint = unsigned int
using Uint2 = glm::tvec2<unsigned int, glm::highp>
using Uint3 = glm::tvec3<unsigned int, glm::highp>
using Uint4 = glm::tvec4<unsigned int, glm::highp>
using Double = double
using Double2 = glm::tvec2<double, glm::highp>
using Double3 = glm::tvec3<double, glm::highp>
using Double4 = glm::tvec4<double, glm::highp>
using Float = float
using Float2 = glm::vec2
using Float3 = glm::vec3
using Float4 = glm::vec4
using Matrix3 = glm::mat3
using Matrix4 = glm::mat4
using Quaternion = glm::quat
typedef struct Grindstone::Math::ExportableVector ExportableVector
typedef struct Grindstone::Math::ExportableQuaternion ExportableQuaternion
using Offset2D = Grindstone::Math::Int2
using Offset3D = Grindstone::Math::Int3
using Extent2D = Grindstone::Math::Uint2
using Extent3D = Grindstone::Math::Uint3

Functions

glm::vec3 ImportVector (const ExportableVector inVec)
glm::quat ImportQuaternion (const ExportableQuaternion inQuat)
ExportableVector ExportVector (const glm::vec3 inVec)
ExportableQuaternion ExportQuaternion (const glm::quat inQuat)