/dports/devel/py-cadquery-pywrap/pywrap-e8c7bc9/opencascade/ |
H A D | OpenGl_MatrixState.hxx | 57 const typename OpenGl::MatrixType<T>::Mat4& Current() in Current() 63 void SetCurrent (const typename OpenGl::MatrixType<T>::Mat4& theNewCurrent) in SetCurrent() 69 typename OpenGl::MatrixType<T>::Mat4& ChangeCurrent() in ChangeCurrent() 76 void SetCurrent (const typename OpenGl::MatrixType<Other_t>::Mat4& theNewCurrent) in SetCurrent() 84 myCurrent = typename OpenGl::MatrixType<T>::Mat4(); in SetIdentity() 89 …NCollection_Vector<typename OpenGl::MatrixType<T>::Mat4> myStack; //!< Collection used to main… 90 typename OpenGl::MatrixType<T>::Mat4 myCurrent; //!< Current matrix
|
/dports/misc/openvdb/openvdb-9.0.0/openvdb_ax/openvdb_ax/test/integration/ |
H A D | TestAssign.cc | 320 [&](){ mHarness.addAttributes<openvdb::math::Mat4<float>>(names, in directAssignment() 986 openvdb::math::Mat4<float>::zero(), in compoundMatrixAssignment() 988 openvdb::math::Mat4<float>::zero(), in compoundMatrixAssignment() 989 openvdb::math::Mat4<float>::zero(), in compoundMatrixAssignment() 1017 openvdb::math::Mat4<double>::zero(), in compoundMatrixAssignment() 1019 openvdb::math::Mat4<double>::zero(), in compoundMatrixAssignment() 1020 openvdb::math::Mat4<double>::zero(), in compoundMatrixAssignment() 1283 openvdb::math::Mat4<double>( in implicitContainerAssignment() 1292 openvdb::math::Mat4<float>( in implicitContainerAssignment() 1344 auto symmetric4 = [](auto val) -> openvdb::math::Mat4<decltype(val)> { in implicitContainerScalarAssignment() [all …]
|
H A D | TestCrement.cc | 253 …mHarness.addAttribute<openvdb::math::Mat4<float>>("testmat4f1", getmat(openvdb::math::Mat4<float>(… in crementComponent() 254 mHarness.addAttribute<openvdb::math::Mat4<float>>("testmat4f2", in crementComponent() 255 getmat(openvdb::math::Mat4<float>(),-1.1f,1.1f), in crementComponent() 258 …mHarness.addAttribute<openvdb::math::Mat4<double>>("testmat4d1", getmat(openvdb::math::Mat4<double… in crementComponent() 260 getmat(openvdb::math::Mat4<double>(),-1.1,1.1), in crementComponent() 261 getmat(openvdb::math::Mat4<double>(),-1.1+1.0, 1.1+1.0)); in crementComponent() 323 …mHarness.addAttribute<openvdb::math::Mat4<float>>("testmat4f1", getmat(openvdb::math::Mat4<float>(… in crementComponent() 325 getmat(openvdb::math::Mat4<float>(),-1.1f,1.1f), in crementComponent() 328 …mHarness.addAttribute<openvdb::math::Mat4<double>>("testmat4d1", getmat(openvdb::math::Mat4<double… in crementComponent() 330 getmat(openvdb::math::Mat4<double>(),-1.1,1.1), in crementComponent() [all …]
|
/dports/graphics/vapoursynth-fmtconv/fmtconv-r28/src/fmtcl/ |
H A D | MatrixUtil.h | 38 class Mat4; variable 53 static int make_mat_from_str (Mat4 &m, const std::string &mat, bool to_rgb_flag); 54 static void make_mat_yuv (Mat4 &m, double kr, double kg, double kb, bool to_rgb_flag); 55 static void make_mat_ycgco (Mat4 &m, bool to_rgb_flag); 56 static void make_mat_ydzdx (Mat4 &m, bool to_rgb_flag); 57 static void make_mat_lms (Mat4 &m, bool to_rgb_flag); 58 static void make_mat_ictcp (Mat4 &m, bool hlg_flag, bool to_lms_flag);
|
/dports/graphics/py-pyglet/pyglet-1.5.21/tests/unit/ |
H A D | test_math.py | 3 from pyglet.math import Mat4 8 return Mat4() 26 i = Mat4() # identity matrix 67 return Mat4(values) 74 return Mat4(values) 84 return matrix.Mat4(values) 100 mat4_from_list = Mat4([1, 0, 0, 0, 113 assert round(mat4 @ inverse_1, 9) == Mat4() 114 assert round(mat4 @ inverse_2, 9) == Mat4()
|
/dports/cad/opencascade/opencascade-7.6.0/src/OpenGl/ |
H A D | OpenGl_MatrixState.hxx | 58 const typename OpenGl::MatrixType<T>::Mat4& Current() in Current() 64 void SetCurrent (const typename OpenGl::MatrixType<T>::Mat4& theNewCurrent) in SetCurrent() 70 typename OpenGl::MatrixType<T>::Mat4& ChangeCurrent() in ChangeCurrent() 77 void SetCurrent (const typename OpenGl::MatrixType<Other_t>::Mat4& theNewCurrent) in SetCurrent() 85 myCurrent = typename OpenGl::MatrixType<T>::Mat4(); in SetIdentity() 104 …NCollection_Vector<typename OpenGl::MatrixType<T>::Mat4> myStack; //!< Collection used to main… 105 typename OpenGl::MatrixType<T>::Mat4 myCurrent; //!< Current matrix
|
/dports/cad/opencascade/opencascade-7.6.0/inc/ |
H A D | OpenGl_MatrixState.hxx | 58 const typename OpenGl::MatrixType<T>::Mat4& Current() in Current() 64 void SetCurrent (const typename OpenGl::MatrixType<T>::Mat4& theNewCurrent) in SetCurrent() 70 typename OpenGl::MatrixType<T>::Mat4& ChangeCurrent() in ChangeCurrent() 77 void SetCurrent (const typename OpenGl::MatrixType<Other_t>::Mat4& theNewCurrent) in SetCurrent() 85 myCurrent = typename OpenGl::MatrixType<T>::Mat4(); in SetIdentity() 104 …NCollection_Vector<typename OpenGl::MatrixType<T>::Mat4> myStack; //!< Collection used to main… 105 typename OpenGl::MatrixType<T>::Mat4 myCurrent; //!< Current matrix
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/glmark2/src/src/libmatrix/ |
H A D | stack.h | 74 *this *= Mat4::translate(x, y, z); in translate() 78 *this *= Mat4::scale(x, y, z); in scale() 82 *this *= Mat4::rotate(angle, x, y, z); in rotate() 86 *this *= Mat4::frustum(left, right, bottom, top, near, far); in frustum() 90 *this *= Mat4::ortho(left, right, bottom, top, near, far); in ortho() 94 *this *= Mat4::perspective(fovy, aspect, zNear, zFar); in perspective() 100 *this *= Mat4::lookAt(eyeX, eyeY, eyeZ, centerX, centerY, centerZ, upX, upY, upZ); in lookAt()
|
/dports/benchmarks/glmark2/glmark2-2021.12/src/libmatrix/ |
H A D | stack.h | 74 *this *= Mat4::translate(x, y, z); in translate() 78 *this *= Mat4::scale(x, y, z); in scale() 82 *this *= Mat4::rotate(angle, x, y, z); in rotate() 86 *this *= Mat4::frustum(left, right, bottom, top, near, far); in frustum() 90 *this *= Mat4::ortho(left, right, bottom, top, near, far); in ortho() 94 *this *= Mat4::perspective(fovy, aspect, zNear, zFar); in perspective() 100 *this *= Mat4::lookAt(eyeX, eyeY, eyeZ, centerX, centerY, centerZ, upX, upY, upZ); in lookAt()
|
/dports/lang/v/v-0.1.29/vlib/glm/ |
H A D | glm.v | 20 pub struct Mat4 { 45 fn mat4(f &f32) Mat4 { 46 res := Mat4 { 60 pub fn (m Mat4) str() string { 137 pub fn translate(m Mat4, v Vec3) Mat4 { 164 pub fn ortho(left, right, bottom, top f32) Mat4 { 195 pub fn scale(m Mat4, v Vec3) Mat4 { 221 pub fn mult(a, b Mat4) Mat4 { 235 pub fn rotate(angle f32, axis Vec3, src Mat4) Mat4 { 285 pub fn rotate_z(m Mat4, rad f32) Mat4 { [all …]
|
/dports/textproc/bat/bat-0.18.3/tests/syntax-tests/source/Elm/ |
H A D | test.elm | 9 import Math.Matrix4 as Mat4 exposing (Mat4) namespace 77 perspective : Float -> Mat4 79 Mat4.mul 80 (Mat4.makePerspective 45 1 0.01 100) 81 (Mat4.makeLookAt (vec3 (4 * cos t) 0 (4 * sin t)) (vec3 0 0 0) (vec3 0 1 0)) 109 { perspective : Mat4
|
/dports/science/py-veusz/veusz-veusz-3.3.1/veusz/helpers/src/threed/ |
H A D | objects.cpp | 32 void Object::getFragments(const Mat4& perspM, const Mat4& outerM, FragmentVector& v) in getFragments() 44 void Triangle::getFragments(const Mat4& perspM, const Mat4& outerM, FragmentVector& v) in getFragments() 68 void PolyLine::getFragments(const Mat4& perspM, const Mat4& outerM, FragmentVector& v) in getFragments() 119 void LineSegments::getFragments(const Mat4& perspM, const Mat4& outerM, FragmentVector& v) in getFragments() 154 void Mesh::getFragments(const Mat4& perspM, const Mat4& outerM, FragmentVector& v) in getFragments() 160 void Mesh::getLineFragments(const Mat4& perspM, const Mat4& outerM, FragmentVector& v) in getLineFragments() 208 void Mesh::getSurfaceFragments(const Mat4& perspM, const Mat4& outerM, FragmentVector& v) in getSurfaceFragments() 315 void DataMesh::getFragments(const Mat4& perspM, const Mat4& outerM, FragmentVector& v) in getFragments() 510 void MultiCuboid::getFragments(const Mat4& perspM, const Mat4& outerM, FragmentVector& v) in getFragments() 620 void Points::getFragments(const Mat4& perspM, const Mat4& outerM, FragmentVector& v) in getFragments() [all …]
|
H A D | mmaths.h | 178 struct Mat4 struct 180 Mat4(bool zero=true) 192 inline Mat4 operator*(const Mat4& o) const argument 194 Mat4 ret(false); 213 Mat4 r(false); in transpose() 234 inline Mat4 identityM4() in identityM4() 236 Mat4 m(false); in identityM4() 248 Mat4 translationM4(Vec3 vec); 251 inline Mat4 scaleM4(Vec3 s) in scaleM4() 253 Mat4 m(false); in scaleM4() [all …]
|
H A D | mmaths.cpp | 22 Mat4 rotateM4(double angle, Vec3 vec) in rotateM4() 31 Mat4 m; in rotateM4() 55 Mat4 translationM4(Vec3 vec) in translationM4() 57 Mat4 m; in translationM4()
|
/dports/misc/openmvg/openMVG-2.0/src/openMVG/multiview/ |
H A D | solver_affine_test.cpp | 151 Mat4 AffineMat; in TEST() 154 Mat4 ground_truth; in TEST() 173 Mat4 affine_mat; in TEST() 176 Mat4 ground_truth; in TEST() 190 Mat4 M; in TEST() 199 Mat4 rot; in TEST() 226 Mat4 affine_mat; in TEST() 237 Mat4 m; in TEST() 250 Mat4 affine_mat; in TEST()
|
/dports/graphics/librsvg2-rust/librsvg-2.52.8/vendor/nalgebra/src/third_party/glam/common/ |
H A D | glam_similarity.rs | 1 use super::glam::{DMat3, DMat4, Mat3, Mat4}; 10 impl From<Similarity3<f32>> for Mat4 { implementation 11 fn from(iso: Similarity3<f32>) -> Mat4 { in from() argument 34 impl TryFrom<Mat4> for Similarity3<f32> { 36 fn try_from(mat4: Mat4) -> Result<Similarity3<f32>, ()> { in try_from()
|
/dports/misc/cloc/cloc-1.90/tests/inputs/dd/bb/cc/ |
H A D | MoreTeapotsRenderer.cpp | 122 ndk_helper::Mat4::Translation( iX * gap_x + offset_x, iY * gap_y + offset_y, in Init() 218 mat_projection_ = ndk_helper::Mat4::Perspective( fAspect, 1.f, CAM_NEAR, CAM_FAR ); in UpdateViewport() 257 mat_view_ = ndk_helper::Mat4::LookAt( ndk_helper::Vec3( CAM_X, CAM_Y, CAM_Z ), in Update() 321 ndk_helper::Mat4 mat_rotation = ndk_helper::Mat4::RotationX( fX ) in Render() 322 * ndk_helper::Mat4::RotationY( fY ); in Render() 325 ndk_helper::Mat4 mat_v = mat_view_ * vec_mat_models_[i] * mat_rotation; in Render() 326 ndk_helper::Mat4 mat_vp = mat_projection_ * mat_v; in Render() 354 ndk_helper::Mat4 mat_rotation = ndk_helper::Mat4::RotationX( x ) in Render() 355 * ndk_helper::Mat4::RotationY( y ); in Render() 358 ndk_helper::Mat4 mat_v = mat_view_ * vec_mat_models_[i] * mat_rotation; in Render() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/angle/checkout/src/common/ |
H A D | matrix_utils.h | 324 class Mat4 : public Matrix<float> 327 Mat4(); 328 Mat4(const Matrix<float> generalMatrix); 329 Mat4(const std::vector<float> &elements); 330 Mat4(const float *elements); 331 Mat4(float m00, 348 static Mat4 Rotate(float angle, const Vector3 &axis); 349 static Mat4 Translate(const Vector3 &t); 350 static Mat4 Scale(const Vector3 &s); 352 static Mat4 Perspective(float fov, float aspectRatio, float n, float f); [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/angle/src/common/ |
H A D | matrix_utils.h | 386 class Mat4 : public Matrix<float> 389 Mat4(); 390 Mat4(const Matrix<float> generalMatrix); 391 Mat4(const std::vector<float> &elements); 392 Mat4(const float *elements); 393 Mat4(float m00, 410 static Mat4 Rotate(float angle, const Vector3 &axis); 411 static Mat4 Translate(const Vector3 &t); 412 static Mat4 Scale(const Vector3 &s); 414 static Mat4 Perspective(float fov, float aspectRatio, float n, float f); [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/common/ |
H A D | matrix_utils.h | 386 class Mat4 : public Matrix<float> 389 Mat4(); 390 Mat4(const Matrix<float> generalMatrix); 391 Mat4(const std::vector<float> &elements); 392 Mat4(const float *elements); 393 Mat4(float m00, 410 static Mat4 Rotate(float angle, const Vector3 &axis); 411 static Mat4 Translate(const Vector3 &t); 412 static Mat4 Scale(const Vector3 &s); 414 static Mat4 Perspective(float fov, float aspectRatio, float n, float f); [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/angle/checkout/src/common/ |
H A D | matrix_utils.h | 386 class Mat4 : public Matrix<float> 389 Mat4(); 390 Mat4(const Matrix<float> generalMatrix); 391 Mat4(const std::vector<float> &elements); 392 Mat4(const float *elements); 393 Mat4(float m00, 410 static Mat4 Rotate(float angle, const Vector3 &axis); 411 static Mat4 Translate(const Vector3 &t); 412 static Mat4 Scale(const Vector3 &s); 414 static Mat4 Perspective(float fov, float aspectRatio, float n, float f); [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/angle/checkout/src/common/ |
H A D | matrix_utils.h | 386 class Mat4 : public Matrix<float> 389 Mat4(); 390 Mat4(const Matrix<float> generalMatrix); 391 Mat4(const std::vector<float> &elements); 392 Mat4(const float *elements); 393 Mat4(float m00, 410 static Mat4 Rotate(float angle, const Vector3 &axis); 411 static Mat4 Translate(const Vector3 &t); 412 static Mat4 Scale(const Vector3 &s); 414 static Mat4 Perspective(float fov, float aspectRatio, float n, float f); [all …]
|
/dports/www/firefox/firefox-99.0/gfx/angle/checkout/src/common/ |
H A D | matrix_utils.h | 386 class Mat4 : public Matrix<float> 389 Mat4(); 390 Mat4(const Matrix<float> generalMatrix); 391 Mat4(const std::vector<float> &elements); 392 Mat4(const float *elements); 393 Mat4(float m00, 410 static Mat4 Rotate(float angle, const Vector3 &axis); 411 static Mat4 Translate(const Vector3 &t); 412 static Mat4 Scale(const Vector3 &s); 414 static Mat4 Perspective(float fov, float aspectRatio, float n, float f); [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/angle/checkout/src/common/ |
H A D | matrix_utils.h | 386 class Mat4 : public Matrix<float> 389 Mat4(); 390 Mat4(const Matrix<float> generalMatrix); 391 Mat4(const std::vector<float> &elements); 392 Mat4(const float *elements); 393 Mat4(float m00, 410 static Mat4 Rotate(float angle, const Vector3 &axis); 411 static Mat4 Translate(const Vector3 &t); 412 static Mat4 Scale(const Vector3 &s); 414 static Mat4 Perspective(float fov, float aspectRatio, float n, float f); [all …]
|
/dports/graphics/blender/blender-2.91.0/intern/libmv/libmv/multiview/ |
H A D | homography_test.cc | 171 Mat4 M; in TEST() 180 Mat4 rot; in TEST() 205 Mat4 homography_mat; in TEST() 219 Mat4 m; in TEST() 230 Mat4 homography_mat; in TEST() 243 Mat4 m; in TEST() 254 Mat4 homography_mat; in TEST()
|