37 #ifndef GLM_GTC_half_float
38 #define GLM_GTC_half_float GLM_VERSION
43 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
44 # pragma message("GLM: GLM_GTC_half_float extension included")
50 #if(GLM_COMPONENT == GLM_COMPONENT_CXX98)
61 typedef tvec2<half>
type;
100 template <
typename U>
103 template <
typename U,
typename V>
110 template <
typename U>
113 template <
typename U>
116 template <
typename U>
154 typedef tvec3<half>
type;
194 template <
typename U>
197 template <
typename U,
typename V,
typename W>
204 template <
typename A,
typename B>
207 template <
typename A,
typename B>
210 template <
typename U>
213 template <
typename U>
251 typedef tvec4<half>
type;
292 template <
typename U>
295 template <
typename A,
typename B,
typename C,
typename D>
302 template <
typename A,
typename B,
typename C>
305 template <
typename A,
typename B,
typename C>
308 template <
typename A,
typename B,
typename C>
311 template <
typename A,
typename B>
314 template <
typename A,
typename B>
317 template <
typename A,
typename B>
320 template <
typename U>
348 #endif//(GLM_COMPONENT == GLM_COMPONENT_CXX98)
454 #endif//GLM_GTC_half_float
GLM_FUNC_DECL tvec3< T > & operator=(tvec3< T > const &v)
Definition: type_vec3.inl:233
GLM_FUNC_DECL tvec3< T > & operator++()
Definition: type_vec3.inl:361
Definition: type_vec2.hpp:50
detail::tmat3x2< detail::half > hmat3x2
Definition: half_float.hpp:397
GLM_FUNC_DECL tvec3< T > & operator+=(U const &s)
GLM_FUNC_DECL tvec2< T > & operator+=(U const &s)
tvec4< T > type
Definition: type_vec4.hpp:54
detail::tmat4x3< detail::half > hmat4x3
Definition: half_float.hpp:413
GLM_FUNC_DECL tvec2< T > & operator=(tvec2< T > const &v)
Definition: type_vec2.inl:184
Definition: type_vec3.hpp:50
value_type z
Definition: type_vec3.hpp:92
std::size_t size_type
Definition: type_vec2.hpp:53
GLM_FUNC_DECL tvec2< T > & operator/=(U const &s)
detail::tmat2x4< detail::half > hmat2x4
Definition: half_float.hpp:393
value_type x
Definition: type_vec3.hpp:92
Definition: type_mat2x2.hpp:45
Definition: type_mat2x2.hpp:48
Definition: type_mat2x2.hpp:42
GLM_FUNC_DECL tvec2< T > & operator++()
Definition: type_vec2.inl:302
value_type z
Definition: type_vec4.hpp:93
GLM_FUNC_DECL value_type swizzle(comp X) const
Definition: type_vec3.inl:566
detail::tvec4< detail::half > hvec4
Definition: half_float.hpp:369
GLM_FUNC_DECL tvec4< T > & operator+=(U const &s)
tvec4< bool > bool_type
Definition: type_vec4.hpp:55
Definition: _detail.hpp:38
GLM_FUNC_DECL tvec4< T > & operator++()
Definition: type_vec4.inl:510
GLM_FUNC_DECL tvec3< T > & operator/=(U const &s)
Definition: type_mat2x2.hpp:38
detail::half half
Definition: half_float.hpp:357
detail::tmat3x4< detail::half > hmat3x4
Definition: half_float.hpp:405
GLM_FUNC_DECL tvec2()
Definition: type_vec2.inl:67
GLM_FUNC_DECL value_type swizzle(comp X) const
Definition: type_vec4.inl:706
GLM_FUNC_DECL tvec2< T > & operator*=(U const &s)
GLM_FUNC_DECL tvec2< T > & operator-=(U const &s)
GLM_FUNC_DECL tvec4()
Definition: type_vec4.inl:67
value_type y
Definition: type_vec4.hpp:93
GLM_FUNC_DECL tvec3< T > & operator*=(U const &s)
Definition: type_vec4.hpp:50
detail::tmat4x2< detail::half > hmat4x2
Definition: half_float.hpp:409
detail::tmat3x3< detail::half > hmat3
Definition: half_float.hpp:377
value_type w
Definition: type_vec4.hpp:93
tvec3< bool > bool_type
Definition: type_vec3.hpp:55
tvec3< T > type
Definition: type_vec3.hpp:54
GLM_FUNC_DECL GLM_CONSTEXPR size_type length() const
Definition: type_vec4.inl:33
GLM_FUNC_DECL GLM_CONSTEXPR size_type length() const
Definition: type_vec2.inl:33
T value_type
Definition: type_vec4.hpp:52
Definition: _swizzle.hpp:45
ctor
Definition: type_vec4.hpp:50
detail::tmat2x2< detail::half > hmat2x2
Definition: half_float.hpp:385
detail::tmat4x4< detail::half > hmat4
Definition: half_float.hpp:381
GLM_FUNC_DECL tvec3()
Definition: type_vec3.inl:67
T value_type
Definition: type_vec2.hpp:52
T value_type
Definition: type_vec3.hpp:52
std::size_t size_type
Definition: type_vec3.hpp:53
GLM_FUNC_DECL genType abs(genType const &x)
Definition: type_mat2x2.hpp:39
Definition: _swizzle.hpp:44
ctor
Definition: type_vec3.hpp:50
tvec2< T > type
Definition: type_vec2.hpp:54
GLM_FUNC_DECL value_type & operator[](size_type i)
Definition: type_vec4.inl:44
Definition: type_mat2x2.hpp:44
Definition: type_mat2x2.hpp:47
Definition: type_mat2x2.hpp:41
GLM_FUNC_DECL tvec4< T > & operator/=(U const &s)
GLM_FUNC_DECL tvec3< T > & operator-=(U const &s)
value_type x
Definition: type_vec2.hpp:91
Definition: type_half.hpp:42
Definition: _swizzle.hpp:48
GLM_FUNC_DECL tvec4< T > & operator=(tvec4< T > const &v)
Definition: type_vec4.inl:372
GLM_FUNC_DECL value_type & operator[](size_type i)
Definition: type_vec3.inl:44
GLM_FUNC_DECL tvec4< T > & operator*=(U const &s)
detail::tmat4x4< detail::half > hmat4x4
Definition: half_float.hpp:417
ctor
Definition: type_vec2.hpp:50
GLM_FUNC_DECL value_type & operator[](size_type i)
Definition: type_vec2.inl:44
Definition: type_mat2x2.hpp:40
value_type y
Definition: type_vec2.hpp:91
detail::tmat2x2< detail::half > hmat2
Definition: half_float.hpp:373
detail::tvec3< detail::half > hvec3
Definition: half_float.hpp:365
detail::tmat2x3< detail::half > hmat2x3
Definition: half_float.hpp:389
value_type x
Definition: type_vec4.hpp:93
GLM_FUNC_DECL tvec3< T > & operator--()
Definition: type_vec3.inl:370
GLM_FUNC_DECL genTypeT mix(genTypeT const &x, genTypeT const &y, genTypeU const &a)
GLM_FUNC_DECL value_type swizzle(comp X) const
Definition: type_vec2.inl:492
tvec2< bool > bool_type
Definition: type_vec2.hpp:55
value_type y
Definition: type_vec3.hpp:92
Definition: _swizzle.hpp:47
detail::tvec2< detail::half > hvec2
Definition: half_float.hpp:361
detail::tmat3x3< detail::half > hmat3x3
Definition: half_float.hpp:401
GLM_FUNC_DECL tvec4< T > & operator--()
Definition: type_vec4.inl:520
Definition: type_mat2x2.hpp:46
Definition: type_mat2x2.hpp:49
Definition: type_mat2x2.hpp:43
comp
Definition: _swizzle.hpp:36
GLM_FUNC_DECL tvec2< T > & operator--()
Definition: type_vec2.inl:310
#define GLM_FUNC_DECL
Definition: setup.hpp:678
GLM_FUNC_DECL GLM_CONSTEXPR size_type length() const
Definition: type_vec3.inl:33
Definition: _swizzle.hpp:38
GLM_FUNC_DECL tvec4< T > & operator-=(U const &s)
Definition: _swizzle.hpp:41
std::size_t size_type
Definition: type_vec4.hpp:53