number_precision.hpp
Go to the documentation of this file.
#pragma once
// Dependency:
#include "../glm.hpp"
#include "../gtc/type_precision.hpp"
#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
# ifndef GLM_ENABLE_EXPERIMENTAL
# pragma message("GLM: GLM_GTX_number_precision is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it.")
# else
# pragma message("GLM: GLM_GTX_number_precision extension included")
# endif
#endif
namespace glm{
namespace gtx
{
// Unsigned int vector types
typedef u8 u8vec1;
typedef u16 u16vec1;
typedef u32 u32vec1;
typedef u64 u64vec1;
// Float vector types
typedef f32 f32vec1;
typedef f64 f64vec1;
// Float matrix types
typedef f32 f32mat1;
typedef f32 f32mat1x1;
typedef f64 f64mat1;
typedef f64 f64mat1x1;
}//namespace gtx
}//namespace glm
#include "number_precision.inl"
glm::u32
uint32 u32
Default qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:120
glm::u64
uint64 u64
Default qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:134
glm::gtx::f32mat1x1
f32 f32mat1x1
Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
Definition: number_precision.hpp:53
glm::gtx::f64mat1
f64 f64mat1
Double-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
Definition: number_precision.hpp:54
glm::gtx::u16vec1
u16 u16vec1
16bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
Definition: number_precision.hpp:39
glm::u8
uint8 u8
Default qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:92
glm::gtx::f32mat1
f32 f32mat1
Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
Definition: number_precision.hpp:52
glm::gtx::f32vec1
f32 f32vec1
Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
Definition: number_precision.hpp:46
glm::gtx::f64vec1
f64 f64vec1
Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
Definition: number_precision.hpp:47
glm::gtx::f64mat1x1
f64 f64mat1x1
Double-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
Definition: number_precision.hpp:55
glm::gtx::u64vec1
u64 u64vec1
64bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
Definition: number_precision.hpp:41
glm::gtx::u32vec1
u32 u32vec1
32bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
Definition: number_precision.hpp:40
glm::f32
float f32
Default 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:150
glm::u16
uint16 u16
Default qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:106
glm::gtx::u8vec1
u8 u8vec1
8bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
Definition: number_precision.hpp:38
glm::f64
double f64
Default 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:166
glm
Definition: common.hpp:20