Classes | Namespaces | Defines
_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

namespace  glm
namespace  glm::detail

Defines

#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)

Define Documentation

#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.

#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.

#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.

#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.

#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.

#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.

#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.

#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.

#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.

#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.

#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.

#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.

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

Definition at line 78 of file _vectorize.hpp.

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

Definition at line 138 of file _vectorize.hpp.

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

Definition at line 198 of file _vectorize.hpp.



rtabmap
Author(s): Mathieu Labbe
autogenerated on Sat Jul 23 2016 11:44:28