/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/ocl/cl/onl/ |
H A D | onl_inverse_4x4.cl | 5 float cofactor_ij_v1(__local float * mat4x4, unsigned int row, unsigned int col) 20 float pos_part1 = mat4x4[col0+row0*4] * mat4x4[col1+row1*4] * mat4x4[col2+row2*4]; // aei 21 float pos_part2 = mat4x4[col0+row1*4] * mat4x4[col1+row2*4] * mat4x4[col2+row0*4]; // dhc 22 float pos_part3 = mat4x4[col0+row2*4] * mat4x4[col1+row0*4] * mat4x4[col2+row1*4]; // gbf 24 float neg_part1 = mat4x4[col0+row0*4] * mat4x4[col1+row2*4] * mat4x4[col2+row1*4]; // ahf 25 float neg_part2 = mat4x4[col0+row1*4] * mat4x4[col1+row0*4] * mat4x4[col2+row2*4]; // dbi 26 float neg_part3 = mat4x4[col0+row2*4] * mat4x4[col1+row1*4] * mat4x4[col2+row0*4]; // gec 38 float determinant(__local float * mat4x4, __local float * cofactor4x4) 42 det += mat4x4[col+0*4] * cofactor4x4[col+0*4]; 55 cofactor4x4[llid] = cofactor_ij_v1(mat4x4,llidr,llidc); [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/angle/third_party/vulkan-tools/src/cube/ |
H A D | linmath.h | 109 static inline void mat4x4_dup(mat4x4 M, mat4x4 N) { in mat4x4_dup() 122 static inline void mat4x4_transpose(mat4x4 M, mat4x4 N) { in mat4x4_transpose() 127 static inline void mat4x4_add(mat4x4 M, mat4x4 a, mat4x4 b) { in mat4x4_add() 131 static inline void mat4x4_sub(mat4x4 M, mat4x4 a, mat4x4 b) { in mat4x4_sub() 135 static inline void mat4x4_scale(mat4x4 M, mat4x4 a, float k) { in mat4x4_scale() 148 static inline void mat4x4_mul(mat4x4 M, mat4x4 a, mat4x4 b) { in mat4x4_mul() 190 mat4x4 T; in mat4x4_rotate() 196 mat4x4 C; in mat4x4_rotate() 229 static inline void mat4x4_invert(mat4x4 T, mat4x4 M) { in mat4x4_invert() 269 static inline void mat4x4_orthonormalize(mat4x4 R, mat4x4 M) { in mat4x4_orthonormalize() [all …]
|
/dports/graphics/vulkan-tools/Vulkan-Tools-1.2.203/cube/ |
H A D | linmath.h | 109 static inline void mat4x4_dup(mat4x4 M, mat4x4 N) { in mat4x4_dup() 122 static inline void mat4x4_transpose(mat4x4 M, mat4x4 N) { in mat4x4_transpose() 127 static inline void mat4x4_add(mat4x4 M, mat4x4 a, mat4x4 b) { in mat4x4_add() 131 static inline void mat4x4_sub(mat4x4 M, mat4x4 a, mat4x4 b) { in mat4x4_sub() 135 static inline void mat4x4_scale(mat4x4 M, mat4x4 a, float k) { in mat4x4_scale() 148 static inline void mat4x4_mul(mat4x4 M, mat4x4 a, mat4x4 b) { in mat4x4_mul() 190 mat4x4 T; in mat4x4_rotate() 196 mat4x4 C; in mat4x4_rotate() 229 static inline void mat4x4_invert(mat4x4 T, mat4x4 M) { in mat4x4_invert() 269 static inline void mat4x4_orthonormalize(mat4x4 R, mat4x4 M) { in mat4x4_orthonormalize() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/vulkan-tools/src/cube/ |
H A D | linmath.h | 109 static inline void mat4x4_dup(mat4x4 M, mat4x4 N) { in mat4x4_dup() 122 static inline void mat4x4_transpose(mat4x4 M, mat4x4 N) { in mat4x4_transpose() 127 static inline void mat4x4_add(mat4x4 M, mat4x4 a, mat4x4 b) { in mat4x4_add() 131 static inline void mat4x4_sub(mat4x4 M, mat4x4 a, mat4x4 b) { in mat4x4_sub() 135 static inline void mat4x4_scale(mat4x4 M, mat4x4 a, float k) { in mat4x4_scale() 148 static inline void mat4x4_mul(mat4x4 M, mat4x4 a, mat4x4 b) { in mat4x4_mul() 190 mat4x4 T; in mat4x4_rotate() 196 mat4x4 C; in mat4x4_rotate() 229 static inline void mat4x4_invert(mat4x4 T, mat4x4 M) { in mat4x4_invert() 269 static inline void mat4x4_orthonormalize(mat4x4 R, mat4x4 M) { in mat4x4_orthonormalize() [all …]
|
/dports/astro/opencpn/OpenCPN-5.2.4/include/ |
H A D | linmath.h | 91 static inline void mat4x4_dup(mat4x4 M, mat4x4 N) in mat4x4_dup() 110 static inline void mat4x4_transpose(mat4x4 M, mat4x4 N) in mat4x4_transpose() 117 static inline void mat4x4_add(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_add() 123 static inline void mat4x4_sub(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_sub() 129 static inline void mat4x4_scale(mat4x4 M, mat4x4 a, float k) in mat4x4_scale() 145 static inline void mat4x4_mul(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_mul() 147 mat4x4 temp; in mat4x4_mul() 227 mat4x4 R = { in mat4x4_rotate_X() 239 mat4x4 R = { in mat4x4_rotate_Y() 251 mat4x4 R = { in mat4x4_rotate_Z() [all …]
|
/dports/devel/bullet/bullet3-3.21/examples/ThirdPartyLibs/glad/ |
H A D | linmath.h | 91 static inline void mat4x4_dup(mat4x4 M, mat4x4 N) in mat4x4_dup() 110 static inline void mat4x4_transpose(mat4x4 M, mat4x4 N) in mat4x4_transpose() 117 static inline void mat4x4_add(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_add() 123 static inline void mat4x4_sub(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_sub() 129 static inline void mat4x4_scale(mat4x4 M, mat4x4 a, float k) in mat4x4_scale() 146 static inline void mat4x4_mul(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_mul() 148 mat4x4 temp; in mat4x4_mul() 236 mat4x4 R = { in mat4x4_rotate_X() 247 mat4x4 R = { in mat4x4_rotate_Y() 258 mat4x4 R = { in mat4x4_rotate_Z() [all …]
|
/dports/math/geogram/geogram-1.7.7/src/lib/third_party/glfw/deps/ |
H A D | linmath.h | 91 static inline void mat4x4_dup(mat4x4 M, mat4x4 N) in mat4x4_dup() 110 static inline void mat4x4_transpose(mat4x4 M, mat4x4 N) in mat4x4_transpose() 117 static inline void mat4x4_add(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_add() 123 static inline void mat4x4_sub(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_sub() 129 static inline void mat4x4_scale(mat4x4 M, mat4x4 a, float k) in mat4x4_scale() 145 static inline void mat4x4_mul(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_mul() 147 mat4x4 temp; in mat4x4_mul() 227 mat4x4 R = { in mat4x4_rotate_X() 239 mat4x4 R = { in mat4x4_rotate_Y() 251 mat4x4 R = { in mat4x4_rotate_Z() [all …]
|
/dports/graphics/bonzomatic/Bonzomatic-2021-03-07/external/glfw/deps/ |
H A D | linmath.h | 91 static inline void mat4x4_dup(mat4x4 M, mat4x4 N) in mat4x4_dup() 110 static inline void mat4x4_transpose(mat4x4 M, mat4x4 N) in mat4x4_transpose() 117 static inline void mat4x4_add(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_add() 123 static inline void mat4x4_sub(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_sub() 129 static inline void mat4x4_scale(mat4x4 M, mat4x4 a, float k) in mat4x4_scale() 145 static inline void mat4x4_mul(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_mul() 147 mat4x4 temp; in mat4x4_mul() 227 mat4x4 R = { in mat4x4_rotate_X() 239 mat4x4 R = { in mat4x4_rotate_Y() 251 mat4x4 R = { in mat4x4_rotate_Z() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/glfw/src/deps/ |
H A D | linmath.h | 91 static inline void mat4x4_dup(mat4x4 M, mat4x4 N) in mat4x4_dup() 110 static inline void mat4x4_transpose(mat4x4 M, mat4x4 N) in mat4x4_transpose() 117 static inline void mat4x4_add(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_add() 123 static inline void mat4x4_sub(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_sub() 129 static inline void mat4x4_scale(mat4x4 M, mat4x4 a, float k) in mat4x4_scale() 145 static inline void mat4x4_mul(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_mul() 147 mat4x4 temp; in mat4x4_mul() 227 mat4x4 R = { in mat4x4_rotate_X() 239 mat4x4 R = { in mat4x4_rotate_Y() 251 mat4x4 R = { in mat4x4_rotate_Z() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/glfw/src/deps/ |
H A D | linmath.h | 91 static inline void mat4x4_dup(mat4x4 M, mat4x4 N) in mat4x4_dup() 110 static inline void mat4x4_transpose(mat4x4 M, mat4x4 N) in mat4x4_transpose() 117 static inline void mat4x4_add(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_add() 123 static inline void mat4x4_sub(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_sub() 129 static inline void mat4x4_scale(mat4x4 M, mat4x4 a, float k) in mat4x4_scale() 145 static inline void mat4x4_mul(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_mul() 147 mat4x4 temp; in mat4x4_mul() 227 mat4x4 R = { in mat4x4_rotate_X() 239 mat4x4 R = { in mat4x4_rotate_Y() 251 mat4x4 R = { in mat4x4_rotate_Z() [all …]
|
/dports/graphics/glfw/glfw-3.3.4/deps/ |
H A D | linmath.h | 91 static inline void mat4x4_dup(mat4x4 M, mat4x4 N) in mat4x4_dup() 110 static inline void mat4x4_transpose(mat4x4 M, mat4x4 N) in mat4x4_transpose() 117 static inline void mat4x4_add(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_add() 123 static inline void mat4x4_sub(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_sub() 129 static inline void mat4x4_scale(mat4x4 M, mat4x4 a, float k) in mat4x4_scale() 145 static inline void mat4x4_mul(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_mul() 147 mat4x4 temp; in mat4x4_mul() 227 mat4x4 R = { in mat4x4_rotate_X() 239 mat4x4 R = { in mat4x4_rotate_Y() 251 mat4x4 R = { in mat4x4_rotate_Z() [all …]
|
/dports/graphics/open3d/Open3D-0.2/src/External/GLFW/deps/ |
H A D | linmath.h | 91 static inline void mat4x4_dup(mat4x4 M, mat4x4 N) in mat4x4_dup() 110 static inline void mat4x4_transpose(mat4x4 M, mat4x4 N) in mat4x4_transpose() 117 static inline void mat4x4_add(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_add() 123 static inline void mat4x4_sub(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_sub() 129 static inline void mat4x4_scale(mat4x4 M, mat4x4 a, float k) in mat4x4_scale() 145 static inline void mat4x4_mul(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_mul() 147 mat4x4 temp; in mat4x4_mul() 227 mat4x4 R = { in mat4x4_rotate_X() 239 mat4x4 R = { in mat4x4_rotate_Y() 251 mat4x4 R = { in mat4x4_rotate_Z() [all …]
|
/dports/graphics/rx/rx-0.4.0/cargo-crates/glfw-sys-3.3.0/deps/ |
H A D | linmath.h | 91 static inline void mat4x4_dup(mat4x4 M, mat4x4 N) in mat4x4_dup() 110 static inline void mat4x4_transpose(mat4x4 M, mat4x4 N) in mat4x4_transpose() 117 static inline void mat4x4_add(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_add() 123 static inline void mat4x4_sub(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_sub() 129 static inline void mat4x4_scale(mat4x4 M, mat4x4 a, float k) in mat4x4_scale() 145 static inline void mat4x4_mul(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_mul() 147 mat4x4 temp; in mat4x4_mul() 227 mat4x4 R = { in mat4x4_rotate_X() 239 mat4x4 R = { in mat4x4_rotate_Y() 251 mat4x4 R = { in mat4x4_rotate_Z() [all …]
|
/dports/graphics/py-open3d-python/Open3D-0.2/src/External/GLFW/deps/ |
H A D | linmath.h | 91 static inline void mat4x4_dup(mat4x4 M, mat4x4 N) in mat4x4_dup() 110 static inline void mat4x4_transpose(mat4x4 M, mat4x4 N) in mat4x4_transpose() 117 static inline void mat4x4_add(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_add() 123 static inline void mat4x4_sub(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_sub() 129 static inline void mat4x4_scale(mat4x4 M, mat4x4 a, float k) in mat4x4_scale() 145 static inline void mat4x4_mul(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_mul() 147 mat4x4 temp; in mat4x4_mul() 227 mat4x4 R = { in mat4x4_rotate_X() 239 mat4x4 R = { in mat4x4_rotate_Y() 251 mat4x4 R = { in mat4x4_rotate_Z() [all …]
|
/dports/devel/py-bullet3/bullet3-3.21/examples/ThirdPartyLibs/glad/ |
H A D | linmath.h | 91 static inline void mat4x4_dup(mat4x4 M, mat4x4 N) in mat4x4_dup() 110 static inline void mat4x4_transpose(mat4x4 M, mat4x4 N) in mat4x4_transpose() 117 static inline void mat4x4_add(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_add() 123 static inline void mat4x4_sub(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_sub() 129 static inline void mat4x4_scale(mat4x4 M, mat4x4 a, float k) in mat4x4_scale() 146 static inline void mat4x4_mul(mat4x4 M, mat4x4 a, mat4x4 b) in mat4x4_mul() 148 mat4x4 temp; in mat4x4_mul() 236 mat4x4 R = { in mat4x4_rotate_X() 247 mat4x4 R = { in mat4x4_rotate_Y() 258 mat4x4 R = { in mat4x4_rotate_Z() [all …]
|
/dports/games/xinvaders3d/xinvaders3d/ |
H A D | Makefile | 7 object.o camera.o main-x11.o vec4x1.o mat4x4.o 24 aliens.o: aliens.c game.h vec4x1.h mat4x4.h camera.h system.h defines.h \ 26 camera.o: camera.c mat4x4.h vec4x1.h camera.h 27 effects.o: effects.c game.h vec4x1.h mat4x4.h camera.h system.h \ 29 game.o: game.c game.h vec4x1.h mat4x4.h camera.h system.h defines.h \ 31 object.o: object.c mat4x4.h vec4x1.h defines.h object.h 32 main-x11.o: main-x11.c game.h vec4x1.h mat4x4.h camera.h system.h \ 34 mat4x4.o: mat4x4.c mat4x4.h vec4x1.h 35 player.o: player.c game.h vec4x1.h mat4x4.h camera.h system.h defines.h \
|
H A D | Makefile.dos | 6 object.o camera.o main-dos.o vec4x1.o mat4x4.o 23 aliens.o: aliens.c game.h vec4x1.h mat4x4.h camera.h system.h defines.h \ 25 camera.o: camera.c mat4x4.h vec4x1.h camera.h 26 effects.o: effects.c game.h vec4x1.h mat4x4.h camera.h system.h \ 28 game.o: game.c game.h vec4x1.h mat4x4.h camera.h system.h defines.h \ 30 object.o: object.c mat4x4.h vec4x1.h defines.h object.h 31 main-dos.o: main-dos.c game.h vec4x1.h mat4x4.h camera.h system.h \ 33 mat4x4.o: mat4x4.c mat4x4.h vec4x1.h 34 player.o: player.c game.h vec4x1.h mat4x4.h camera.h system.h defines.h \
|
/dports/graphics/dilay/dilay-1.9.0/test/src/ |
H A D | test-octree.cpp | 32 const glm::mat4x4 translationMatrix = in test() 33 glm::translate (glm::mat4x4 (1.0f), glm::vec3 (posD (gen), posD (gen), posD (gen))); in test() 34 const glm::mat4x4 rotationMatrix = in test() 35 glm::rotate (glm::mat4x4 (1.0f), twoPiD (gen), in test() 38 const glm::mat4x4 scalingMatrix = in test() 39 glm::scale (glm::mat4x4 (1.0f), glm::vec3 (scaleD (gen), scaleD (gen), scaleD (gen))); in test() 41 const glm::mat4x4 modelMatrix = translationMatrix * rotationMatrix * scalingMatrix; in test()
|
/dports/graphics/dilay/dilay-1.9.0/lib/src/ |
H A D | mesh.cpp | 124 glm::mat4x4 scalingMatrix; 125 glm::mat4x4 rotationMatrix; 126 glm::mat4x4 translationMatrix; 136 : scalingMatrix (glm::mat4x4 (1.0f)) in Impl() 137 , rotationMatrix (glm::mat4x4 (1.0f)) in Impl() 138 , translationMatrix (glm::mat4x4 (1.0f)) in Impl() 219 glm::mat4x4 modelMatrix () const in modelMatrix() 311 this->scalingMatrix = glm::mat4x4 (1.0f); in reset() 312 this->rotationMatrix = glm::mat4x4 (1.0f); in reset() 389 this->rotationMatrix = glm::mat4x4 (1.0f); in normalize() [all …]
|
H A D | camera.hpp | 27 const glm::mat4x4& view () const; 28 const glm::mat4x4& viewRotation () const; 30 glm::mat4x4 world () const; 33 void setModelViewProjection (const glm::mat4x4&, const glm::mat3x3&, bool); 40 glm::vec2 fromWorld (const glm::vec3&, const glm::mat4x4&, bool) const;
|
H A D | camera.cpp | 25 glm::mat4x4 projection; 26 glm::mat4x4 view; 27 glm::mat4x4 viewRotation; 53 glm::mat4x4 world () const in world() 70 void setModelViewProjection (const glm::mat4x4& model, const glm::mat3x3& modelNormal, in setModelViewProjection() 140 glm::vec2 fromWorld (const glm::vec3& p, const glm::mat4x4& model, bool onlyRotation) const in fromWorld() 142 const glm::mat4x4 mv = onlyRotation ? this->viewRotation * model : this->view * model; in fromWorld() 249 GETTER_CONST (const glm::mat4x4&, Camera, view) 250 GETTER_CONST (const glm::mat4x4&, Camera, viewRotation) 252 DELEGATE_CONST (glm::mat4x4, Camera, world) [all …]
|
/dports/science/lammps/lammps-stable_29Sep2021/lib/poems/ |
H A D | .depend | 3 colmatmap.h rowmatrix.h virtualrowmatrix.h mat3x3.h vect3.h mat4x4.h \ 8 rowmatrix.h virtualrowmatrix.h mat3x3.h vect3.h mat4x4.h vect4.h \ 18 virtualrowmatrix.h mat3x3.h vect3.h mat4x4.h vect4.h mat6x6.h vect6.h 23 colmatmap.h rowmatrix.h virtualrowmatrix.h mat3x3.h vect3.h mat4x4.h \ 29 vect3.h mat4x4.h vect4.h mat6x6.h vect6.h fixedpoint.h point.h 32 virtualrowmatrix.h mat3x3.h vect3.h mat4x4.h vect4.h mat6x6.h vect6.h \ 37 $(DIR)mat4x4.o: mat4x4.cpp mat4x4.h virtualmatrix.h matrix.h 46 colmatmap.h rowmatrix.h virtualrowmatrix.h mat3x3.h vect3.h mat4x4.h \ 51 vect3.h mat4x4.h vect4.h mat6x6.h vect6.h 55 mat4x4.h vect4.h inertialframe.h joint.h onfunctions.h matrixfun.h \ [all …]
|
/dports/emulators/mame/mame-mame0226/3rdparty/glm/test/gtx/ |
H A D | gtx_dual_quaternion.cpp | 70 glm::mat4x4 mid(1.0f); in test_inverse() 74 glm::mat4x4 rot = glm::yawPitchRoll(myfrand() * 360.0f, myfrand() * 360.0f, myfrand() * 360.0f); in test_inverse() 77 glm::mat4x4 m = glm::translate(mid, vt) * rot; in test_inverse() 109 glm::mat4x4 mid(1.0f); in test_mul() 117 glm::mat4x4 rot1 = glm::yawPitchRoll(myfrand() * 360.0f, myfrand() * 360.0f, myfrand() * 360.0f); in test_mul() 118 glm::mat4x4 rot2 = glm::yawPitchRoll(myfrand() * 360.0f, myfrand() * 360.0f, myfrand() * 360.0f); in test_mul() 119 glm::mat4x4 m1 = glm::translate(mid, vt1) * rot1; in test_mul() 120 glm::mat4x4 m2 = glm::translate(mid, vt2) * rot2; in test_mul() 121 glm::mat4x4 m3 = m2 * m1; in test_mul() 122 glm::mat4x4 m4 = m1 * m2; in test_mul()
|
/dports/emulators/mess/mame-mame0226/3rdparty/glm/test/gtx/ |
H A D | gtx_dual_quaternion.cpp | 70 glm::mat4x4 mid(1.0f); in test_inverse() 74 glm::mat4x4 rot = glm::yawPitchRoll(myfrand() * 360.0f, myfrand() * 360.0f, myfrand() * 360.0f); in test_inverse() 77 glm::mat4x4 m = glm::translate(mid, vt) * rot; in test_inverse() 109 glm::mat4x4 mid(1.0f); in test_mul() 117 glm::mat4x4 rot1 = glm::yawPitchRoll(myfrand() * 360.0f, myfrand() * 360.0f, myfrand() * 360.0f); in test_mul() 118 glm::mat4x4 rot2 = glm::yawPitchRoll(myfrand() * 360.0f, myfrand() * 360.0f, myfrand() * 360.0f); in test_mul() 119 glm::mat4x4 m1 = glm::translate(mid, vt1) * rot1; in test_mul() 120 glm::mat4x4 m2 = glm::translate(mid, vt2) * rot2; in test_mul() 121 glm::mat4x4 m3 = m2 * m1; in test_mul() 122 glm::mat4x4 m4 = m1 * m2; in test_mul()
|
/dports/games/warzone2100/warzone2100/3rdparty/glm/test/gtx/ |
H A D | gtx_dual_quaternion.cpp | 72 glm::mat4x4 mid(1.0f); in test_inverse() 76 glm::mat4x4 rot = glm::yawPitchRoll(myfrand() * 360.0f, myfrand() * 360.0f, myfrand() * 360.0f); in test_inverse() 79 glm::mat4x4 m = glm::translate(mid, vt) * rot; in test_inverse() 111 glm::mat4x4 mid(1.0f); in test_mul() 119 glm::mat4x4 rot1 = glm::yawPitchRoll(myfrand() * 360.0f, myfrand() * 360.0f, myfrand() * 360.0f); in test_mul() 120 glm::mat4x4 rot2 = glm::yawPitchRoll(myfrand() * 360.0f, myfrand() * 360.0f, myfrand() * 360.0f); in test_mul() 121 glm::mat4x4 m1 = glm::translate(mid, vt1) * rot1; in test_mul() 122 glm::mat4x4 m2 = glm::translate(mid, vt2) * rot2; in test_mul() 123 glm::mat4x4 m3 = m2 * m1; in test_mul() 124 glm::mat4x4 m4 = m1 * m2; in test_mul()
|