Classes | Namespaces | Macros
_vectorize.hpp File Reference
#include "type_vec1.hpp"
#include "type_vec2.hpp"
#include "type_vec3.hpp"
#include "type_vec4.hpp"
Include dependency graph for _vectorize.hpp:

Go to the source code of this file.

Classes

struct  glm::detail::If< C >
 
struct  glm::detail::If< false >
 

Namespaces

 glm
 
 glm::detail
 

Macros

#define VECTORIZE1_VEC(func)
 
#define VECTORIZE1_VEC_SCA(func)
 
#define VECTORIZE1_VEC_VEC(func)
 
#define VECTORIZE2_VEC(func)
 
#define VECTORIZE2_VEC_SCA(func)
 
#define VECTORIZE2_VEC_VEC(func)
 
#define VECTORIZE3_VEC(func)
 
#define VECTORIZE3_VEC_SCA(func)
 
#define VECTORIZE3_VEC_VEC(func)
 
#define VECTORIZE4_VEC(func)
 
#define VECTORIZE4_VEC_SCA(func)
 
#define VECTORIZE4_VEC_VEC(func)
 
#define VECTORIZE_VEC(func)
 
#define VECTORIZE_VEC_SCA(func)
 
#define VECTORIZE_VEC_VEC(func)
 

Macro Definition Documentation

◆ VECTORIZE1_VEC

#define VECTORIZE1_VEC (   func)
Value:
template <typename T, precision P> \
GLM_FUNC_QUALIFIER detail::tvec1<T, P> func( \
detail::tvec1<T, P> const & v) \
{ \
return detail::tvec1<T, P>( \
func(v.x)); \
}

Definition at line 36 of file _vectorize.hpp.

◆ VECTORIZE1_VEC_SCA

#define VECTORIZE1_VEC_SCA (   func)
Value:
template <typename T, precision P> \
GLM_FUNC_QUALIFIER detail::tvec1<T, P> func \
( \
detail::tvec1<T, P> const & x, \
typename detail::tvec1<T, P>::value_type const & y \
) \
{ \
return detail::tvec1<T, P>( \
func(x.x, y)); \
}

Definition at line 84 of file _vectorize.hpp.

◆ VECTORIZE1_VEC_VEC

#define VECTORIZE1_VEC_VEC (   func)
Value:
template <typename T, precision P> \
GLM_FUNC_QUALIFIER detail::tvec1<T, P> func \
( \
detail::tvec1<T, P> const & x, \
detail::tvec1<T, P> const & y \
) \
{ \
return detail::tvec1<T, P>( \
func(x.x, y.x)); \
}

Definition at line 144 of file _vectorize.hpp.

◆ VECTORIZE2_VEC

#define VECTORIZE2_VEC (   func)
Value:
template <typename T, precision P> \
GLM_FUNC_QUALIFIER detail::tvec2<T, P> func( \
detail::tvec2<T, P> const & v) \
{ \
return detail::tvec2<T, P>( \
func(v.x), \
func(v.y)); \
}

Definition at line 45 of file _vectorize.hpp.

◆ VECTORIZE2_VEC_SCA

#define VECTORIZE2_VEC_SCA (   func)
Value:
template <typename T, precision P> \
GLM_FUNC_QUALIFIER detail::tvec2<T, P> func \
( \
detail::tvec2<T, P> const & x, \
typename detail::tvec2<T, P>::value_type const & y \
) \
{ \
return detail::tvec2<T, P>( \
func(x.x, y), \
func(x.y, y)); \
}

Definition at line 96 of file _vectorize.hpp.

◆ VECTORIZE2_VEC_VEC

#define VECTORIZE2_VEC_VEC (   func)
Value:
template <typename T, precision P> \
GLM_FUNC_QUALIFIER detail::tvec2<T, P> func \
( \
detail::tvec2<T, P> const & x, \
detail::tvec2<T, P> const & y \
) \
{ \
return detail::tvec2<T, P>( \
func(x.x, y.x), \
func(x.y, y.y)); \
}

Definition at line 156 of file _vectorize.hpp.

◆ VECTORIZE3_VEC

#define VECTORIZE3_VEC (   func)
Value:
template <typename T, precision P> \
GLM_FUNC_QUALIFIER detail::tvec3<T, P> func( \
detail::tvec3<T, P> const & v) \
{ \
return detail::tvec3<T, P>( \
func(v.x), \
func(v.y), \
func(v.z)); \
}

Definition at line 55 of file _vectorize.hpp.

◆ VECTORIZE3_VEC_SCA

#define VECTORIZE3_VEC_SCA (   func)
Value:
template <typename T, precision P> \
GLM_FUNC_QUALIFIER detail::tvec3<T, P> func \
( \
detail::tvec3<T, P> const & x, \
typename detail::tvec3<T, P>::value_type const & y \
) \
{ \
return detail::tvec3<T, P>( \
func(x.x, y), \
func(x.y, y), \
func(x.z, y)); \
}

Definition at line 109 of file _vectorize.hpp.

◆ VECTORIZE3_VEC_VEC

#define VECTORIZE3_VEC_VEC (   func)
Value:
template <typename T, precision P> \
GLM_FUNC_QUALIFIER detail::tvec3<T, P> func \
( \
detail::tvec3<T, P> const & x, \
detail::tvec3<T, P> const & y \
) \
{ \
return detail::tvec3<T, P>( \
func(x.x, y.x), \
func(x.y, y.y), \
func(x.z, y.z)); \
}

Definition at line 169 of file _vectorize.hpp.

◆ VECTORIZE4_VEC

#define VECTORIZE4_VEC (   func)
Value:
template <typename T, precision P> \
GLM_FUNC_QUALIFIER detail::tvec4<T, P> func( \
detail::tvec4<T, P> const & v) \
{ \
return detail::tvec4<T, P>( \
func(v.x), \
func(v.y), \
func(v.z), \
func(v.w)); \
}

Definition at line 66 of file _vectorize.hpp.

◆ VECTORIZE4_VEC_SCA

#define VECTORIZE4_VEC_SCA (   func)
Value:
template <typename T, precision P> \
GLM_FUNC_QUALIFIER detail::tvec4<T, P> func \
( \
detail::tvec4<T, P> const & x, \
typename detail::tvec4<T, P>::value_type const & y \
) \
{ \
return detail::tvec4<T, P>( \
func(x.x, y), \
func(x.y, y), \
func(x.z, y), \
func(x.w, y)); \
}

Definition at line 123 of file _vectorize.hpp.

◆ VECTORIZE4_VEC_VEC

#define VECTORIZE4_VEC_VEC (   func)
Value:
template <typename T, precision P> \
GLM_FUNC_QUALIFIER detail::tvec4<T, P> func \
( \
detail::tvec4<T, P> const & x, \
detail::tvec4<T, P> const & y \
) \
{ \
return detail::tvec4<T, P>( \
func(x.x, y.x), \
func(x.y, y.y), \
func(x.z, y.z), \
func(x.w, y.w)); \
}

Definition at line 183 of file _vectorize.hpp.

◆ VECTORIZE_VEC

#define VECTORIZE_VEC (   func)
Value:
VECTORIZE2_VEC(func) \
VECTORIZE3_VEC(func) \
VECTORIZE4_VEC(func)

Definition at line 78 of file _vectorize.hpp.

◆ VECTORIZE_VEC_SCA

#define VECTORIZE_VEC_SCA (   func)
Value:
VECTORIZE2_VEC_SCA(func) \
VECTORIZE3_VEC_SCA(func) \
VECTORIZE4_VEC_SCA(func)

Definition at line 138 of file _vectorize.hpp.

◆ VECTORIZE_VEC_VEC

#define VECTORIZE_VEC_VEC (   func)
Value:
VECTORIZE2_VEC_VEC(func) \
VECTORIZE3_VEC_VEC(func) \
VECTORIZE4_VEC_VEC(func)

Definition at line 198 of file _vectorize.hpp.

y
Matrix3f y
func
void func(GLuint LocationMVP, float Translate, glm::vec2 const &Rotate)
Definition: dummy.cpp:88
VECTORIZE1_VEC_SCA
#define VECTORIZE1_VEC_SCA(func)
Definition: _vectorize.hpp:84
VECTORIZE1_VEC
#define VECTORIZE1_VEC(func)
Definition: _vectorize.hpp:36
x
x
VECTORIZE1_VEC_VEC
#define VECTORIZE1_VEC_VEC(func)
Definition: _vectorize.hpp:144
v
Array< int, Dynamic, 1 > v
func


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:24