Go to the documentation of this file.
41 #include "../detail/setup.hpp"
43 #if(GLM_ARCH != GLM_ARCH_PURE)
45 #if(GLM_ARCH & GLM_ARCH_SSE2)
46 # include "../detail/intrinsic_matrix.hpp"
47 # include "../gtx/simd_vec4.hpp"
49 # error "GLM: GLM_GTX_simd_mat4 requires compiler support of SSE2 through intrinsics"
52 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
53 # pragma message("GLM: GLM_GTX_simd_mat4 extension included")
64 typedef float value_type;
65 typedef fvec4SIMD col_type;
66 typedef fvec4SIMD row_type;
67 typedef std::size_t size_type;
68 typedef fmat4x4SIMD
type;
69 typedef fmat4x4SIMD transpose_type;
79 explicit fmat4x4SIMD(
float const & s);
81 float const & x0,
float const & y0,
float const & z0,
float const & w0,
82 float const & x1,
float const & y1,
float const & z1,
float const & w1,
83 float const & x2,
float const & y2,
float const & z2,
float const & w2,
84 float const & x3,
float const & y3,
float const & z3,
float const & w3);
89 fvec4SIMD
const & v3);
110 fvec4SIMD
const & operator[](
length_t i)
const;
113 fmat4x4SIMD & operator= (fmat4x4SIMD
const & m);
114 fmat4x4SIMD & operator+= (
float const & s);
115 fmat4x4SIMD & operator+= (fmat4x4SIMD
const & m);
116 fmat4x4SIMD & operator-= (
float const & s);
117 fmat4x4SIMD & operator-= (fmat4x4SIMD
const & m);
118 fmat4x4SIMD & operator*= (
float const & s);
119 fmat4x4SIMD & operator*= (fmat4x4SIMD
const & m);
120 fmat4x4SIMD & operator/= (
float const & s);
121 fmat4x4SIMD & operator/= (fmat4x4SIMD
const & m);
122 fmat4x4SIMD & operator++ ();
123 fmat4x4SIMD & operator-- ();
127 fmat4x4SIMD
operator+ (fmat4x4SIMD
const & m,
float const & s);
128 fmat4x4SIMD
operator+ (
float const & s, fmat4x4SIMD
const & m);
129 fmat4x4SIMD
operator+ (fmat4x4SIMD
const & m1, fmat4x4SIMD
const & m2);
131 fmat4x4SIMD
operator- (fmat4x4SIMD
const & m,
float const & s);
132 fmat4x4SIMD
operator- (
float const & s, fmat4x4SIMD
const & m);
133 fmat4x4SIMD
operator- (fmat4x4SIMD
const & m1, fmat4x4SIMD
const & m2);
135 fmat4x4SIMD
operator* (fmat4x4SIMD
const & m,
float const & s);
136 fmat4x4SIMD
operator* (
float const & s, fmat4x4SIMD
const & m);
138 fvec4SIMD
operator* (fmat4x4SIMD
const & m, fvec4SIMD
const & v);
139 fvec4SIMD
operator* (fvec4SIMD
const & v, fmat4x4SIMD
const & m);
141 fmat4x4SIMD
operator* (fmat4x4SIMD
const & m1, fmat4x4SIMD
const & m2);
143 fmat4x4SIMD
operator/ (fmat4x4SIMD
const & m,
float const & s);
144 fmat4x4SIMD
operator/ (
float const & s, fmat4x4SIMD
const & m);
146 fvec4SIMD
operator/ (fmat4x4SIMD
const & m, fvec4SIMD
const & v);
147 fvec4SIMD
operator/ (fvec4SIMD
const & v, fmat4x4SIMD
const & m);
149 fmat4x4SIMD
operator/ (fmat4x4SIMD
const & m1, fmat4x4SIMD
const & m2);
152 fmat4x4SIMD
const operator- (fmat4x4SIMD
const & m);
153 fmat4x4SIMD
const operator-- (fmat4x4SIMD
const & m,
int);
154 fmat4x4SIMD
const operator++ (fmat4x4SIMD
const & m,
int);
157 typedef detail::fmat4x4SIMD simdMat4;
165 detail::fmat4x4SIMD
const & x);
171 detail::fmat4x4SIMD
const & x,
172 detail::fmat4x4SIMD
const & y);
179 detail::fvec4SIMD
const & c,
180 detail::fvec4SIMD
const & r);
184 detail::fmat4x4SIMD transpose(
185 detail::fmat4x4SIMD
const & x);
190 detail::fmat4x4SIMD
const & m);
195 detail::fmat4x4SIMD
const & m);
200 #include "simd_mat4.inl"
202 #endif//(GLM_ARCH != GLM_ARCH_PURE)
GLM_FUNC_DECL genType::value_type length(genType const &x)
GLM_FUNC_DECL matType< T, P > matrixCompMult(matType< T, P > const &x, matType< T, P > const &y)
GLM_FUNC_DECL T determinant(matType< T, P > const &m)
#define GLM_ALIGNED_STRUCT(x)
GLM_FUNC_DECL detail::outerProduct_trait< T, P, vecTypeA, vecTypeB >::type outerProduct(vecTypeA< T, P > const &c, vecTypeB< T, P > const &r)
GLM_FUNC_DECL tmat2x2< T, P > operator+(tmat2x2< T, P > const &m, T const &s)
GLM_FUNC_DECL tmat2x2< T, P > operator/(tmat2x2< T, P > const &m, T const &s)
GLM_FUNC_DECL tmat2x2< T, P > operator*(tmat2x2< T, P > const &m, T const &s)
GLM_FUNC_DECL detail::tmat4x4< T, P > mat4_cast(detail::tquat< T, P > const &x)
GLM_FUNC_DECL tmat2x2< T, P > operator-(tmat2x2< T, P > const &m, T const &s)
GLM_FUNC_DECL matType< T, P > inverse(matType< T, P > const &m)
rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:16