/dports/lang/spidermonkey60/firefox-60.9.0/gfx/2d/ |
H A D | Matrix.cpp | 92 resultMatrix._11 = this->_11 * aMatrix._11 + this->_12 * aMatrix._21; in operator *() 93 resultMatrix._12 = this->_11 * aMatrix._12 + this->_12 * aMatrix._22; in operator *() 94 resultMatrix._13 = this->_11 * aMatrix._13 + this->_12 * aMatrix._23; in operator *() 95 resultMatrix._14 = this->_11 * aMatrix._14 + this->_12 * aMatrix._24; in operator *() 97 resultMatrix._21 = this->_21 * aMatrix._11 + this->_22 * aMatrix._21; in operator *() 98 resultMatrix._22 = this->_21 * aMatrix._12 + this->_22 * aMatrix._22; in operator *() 99 resultMatrix._23 = this->_21 * aMatrix._13 + this->_22 * aMatrix._23; in operator *() 108 this->_31 * aMatrix._11 + this->_32 * aMatrix._21 + aMatrix._41; in operator *() 110 this->_31 * aMatrix._12 + this->_32 * aMatrix._22 + aMatrix._42; in operator *() 112 this->_31 * aMatrix._13 + this->_32 * aMatrix._23 + aMatrix._43; in operator *() [all …]
|
H A D | Matrix.h | 56 << aMatrix._21 << " " << aMatrix._22 << "; " << aMatrix._31 257 this->_31 * aMatrix._11 + this->_32 * aMatrix._21 + aMatrix._31; 259 this->_31 * aMatrix._12 + this->_32 * aMatrix._22 + aMatrix._32; 1161 matrix._11 = _11 * aMatrix._11 + _12 * aMatrix._21 + _13 * aMatrix._31 + 1163 matrix._21 = _21 * aMatrix._11 + _22 * aMatrix._21 + _23 * aMatrix._31 + 2091 matrix._41 = _41 * aMatrix._11 + _42 * aMatrix._21 + aMatrix._41; 2094 matrix._42 = _41 * aMatrix._12 + _42 * aMatrix._22 + aMatrix._42; 2102 matrix._41 = _41 * aMatrix._11 + _42 * aMatrix._21 + aMatrix._41; 2106 matrix._42 = _41 * aMatrix._12 + _42 * aMatrix._22 + aMatrix._42; 2110 matrix._43 = _41 * aMatrix._13 + _42 * aMatrix._23 + aMatrix._43; [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/types/tests/java/org/scilab/tests/modules/types/ |
H A D | testEquals.java | 41 ScilabDouble aMatrix = new ScilabDouble(a); in compareDoubleTest() local 68 assertTrue(aMatrix.toString().equals( in compareSparseTest() 117 assertTrue(aMatrix in compareDoubleComplexTest() 150 assertTrue(aMatrix in sparseTest() 185 byte[][] d = aMatrix.getDataAsByte(); in compareInteger8Test() 186 long[][] d2 = aMatrix.getData(); in compareInteger8Test() 240 long[][] d2 = aMatrix.getData(); in compareInteger16Test() 289 int[][] d = aMatrix.getDataAsInt(); in compareInteger32Test() 290 long[][] d2 = aMatrix.getData(); in compareInteger32Test() 339 long[][] d = aMatrix.getDataAsLong(); in compareInteger64Test() [all …]
|
H A D | testSerialization.java | 102 ScilabDouble aMatrix = new ScilabDouble(a); in writeDoubleFileReference() local 103 writeReference(aMatrix, scilabDoubleFile); in writeDoubleFileReference() 123 ScilabString aMatrix = new ScilabString(a); in writeStringFileReference() local 124 writeReference(aMatrix, scilabStringFile); in writeStringFileReference() 131 ScilabDouble aMatrix = new ScilabDouble(a); in readJavaSerializedDoubleTest() local 149 ScilabString aMatrix = new ScilabString(a); in readJavaSerializedStringTest() local 161 writeReference(aMatrix, scilabInt8File); in writeInt8FileReference() 194 writeReference(aMatrix, scilabInt16File); in writeInt16FileReference() 227 writeReference(aMatrix, scilabInt32File); in writeInt32FileReference() 260 writeReference(aMatrix, scilabInt64File); in writeInt64FileReference() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/2d/ |
H A D | Matrix.cpp | 90 resultMatrix._11 = this->_11 * aMatrix._11 + this->_12 * aMatrix._21; in operator *() 91 resultMatrix._12 = this->_11 * aMatrix._12 + this->_12 * aMatrix._22; in operator *() 92 resultMatrix._13 = this->_11 * aMatrix._13 + this->_12 * aMatrix._23; in operator *() 93 resultMatrix._14 = this->_11 * aMatrix._14 + this->_12 * aMatrix._24; in operator *() 95 resultMatrix._21 = this->_21 * aMatrix._11 + this->_22 * aMatrix._21; in operator *() 96 resultMatrix._22 = this->_21 * aMatrix._12 + this->_22 * aMatrix._22; in operator *() 97 resultMatrix._23 = this->_21 * aMatrix._13 + this->_22 * aMatrix._23; in operator *() 106 this->_31 * aMatrix._11 + this->_32 * aMatrix._21 + aMatrix._41; in operator *() 108 this->_31 * aMatrix._12 + this->_32 * aMatrix._22 + aMatrix._42; in operator *() 110 this->_31 * aMatrix._13 + this->_32 * aMatrix._23 + aMatrix._43; in operator *() [all …]
|
H A D | Matrix.h | 75 << aMatrix._21 << " " << aMatrix._22 << "; " << aMatrix._31 276 this->_31 * aMatrix._11 + this->_32 * aMatrix._21 + aMatrix._31; 278 this->_31 * aMatrix._12 + this->_32 * aMatrix._22 + aMatrix._32; 2109 matrix._41 = _41 * aMatrix._11 + _42 * aMatrix._21 + aMatrix._41; 2113 matrix._42 = _41 * aMatrix._12 + _42 * aMatrix._22 + aMatrix._42; 2117 matrix._43 = _41 * aMatrix._13 + _42 * aMatrix._23 + aMatrix._43; 2121 matrix._44 = _41 * aMatrix._14 + _42 * aMatrix._24 + aMatrix._44; 2145 matrix._41 = _41 * aMatrix._11 + _42 * aMatrix._21 + aMatrix._41; 2148 matrix._42 = _41 * aMatrix._12 + _42 * aMatrix._22 + aMatrix._42; 2156 matrix._41 = _41 * aMatrix._11 + _42 * aMatrix._21 + aMatrix._41; [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/2d/ |
H A D | Matrix.cpp | 90 resultMatrix._11 = this->_11 * aMatrix._11 + this->_12 * aMatrix._21; in operator *() 91 resultMatrix._12 = this->_11 * aMatrix._12 + this->_12 * aMatrix._22; in operator *() 92 resultMatrix._13 = this->_11 * aMatrix._13 + this->_12 * aMatrix._23; in operator *() 93 resultMatrix._14 = this->_11 * aMatrix._14 + this->_12 * aMatrix._24; in operator *() 95 resultMatrix._21 = this->_21 * aMatrix._11 + this->_22 * aMatrix._21; in operator *() 96 resultMatrix._22 = this->_21 * aMatrix._12 + this->_22 * aMatrix._22; in operator *() 97 resultMatrix._23 = this->_21 * aMatrix._13 + this->_22 * aMatrix._23; in operator *() 106 this->_31 * aMatrix._11 + this->_32 * aMatrix._21 + aMatrix._41; in operator *() 108 this->_31 * aMatrix._12 + this->_32 * aMatrix._22 + aMatrix._42; in operator *() 110 this->_31 * aMatrix._13 + this->_32 * aMatrix._23 + aMatrix._43; in operator *() [all …]
|
H A D | Matrix.h | 72 << aMatrix._21 << " " << aMatrix._22 << "; " << aMatrix._31 273 this->_31 * aMatrix._11 + this->_32 * aMatrix._21 + aMatrix._31; 275 this->_31 * aMatrix._12 + this->_32 * aMatrix._22 + aMatrix._32; 2108 matrix._41 = _41 * aMatrix._11 + _42 * aMatrix._21 + aMatrix._41; 2112 matrix._42 = _41 * aMatrix._12 + _42 * aMatrix._22 + aMatrix._42; 2116 matrix._43 = _41 * aMatrix._13 + _42 * aMatrix._23 + aMatrix._43; 2120 matrix._44 = _41 * aMatrix._14 + _42 * aMatrix._24 + aMatrix._44; 2144 matrix._41 = _41 * aMatrix._11 + _42 * aMatrix._21 + aMatrix._41; 2147 matrix._42 = _41 * aMatrix._12 + _42 * aMatrix._22 + aMatrix._42; 2155 matrix._41 = _41 * aMatrix._11 + _42 * aMatrix._21 + aMatrix._41; [all …]
|
/dports/www/firefox/firefox-99.0/gfx/2d/ |
H A D | Matrix.cpp | 90 resultMatrix._11 = this->_11 * aMatrix._11 + this->_12 * aMatrix._21; in operator *() 91 resultMatrix._12 = this->_11 * aMatrix._12 + this->_12 * aMatrix._22; in operator *() 92 resultMatrix._13 = this->_11 * aMatrix._13 + this->_12 * aMatrix._23; in operator *() 93 resultMatrix._14 = this->_11 * aMatrix._14 + this->_12 * aMatrix._24; in operator *() 95 resultMatrix._21 = this->_21 * aMatrix._11 + this->_22 * aMatrix._21; in operator *() 96 resultMatrix._22 = this->_21 * aMatrix._12 + this->_22 * aMatrix._22; in operator *() 97 resultMatrix._23 = this->_21 * aMatrix._13 + this->_22 * aMatrix._23; in operator *() 106 this->_31 * aMatrix._11 + this->_32 * aMatrix._21 + aMatrix._41; in operator *() 108 this->_31 * aMatrix._12 + this->_32 * aMatrix._22 + aMatrix._42; in operator *() 110 this->_31 * aMatrix._13 + this->_32 * aMatrix._23 + aMatrix._43; in operator *() [all …]
|
H A D | Matrix.h | 75 << aMatrix._21 << " " << aMatrix._22 << "; " << aMatrix._31 276 this->_31 * aMatrix._11 + this->_32 * aMatrix._21 + aMatrix._31; 278 this->_31 * aMatrix._12 + this->_32 * aMatrix._22 + aMatrix._32; 2118 matrix._41 = _41 * aMatrix._11 + _42 * aMatrix._21 + aMatrix._41; 2122 matrix._42 = _41 * aMatrix._12 + _42 * aMatrix._22 + aMatrix._42; 2126 matrix._43 = _41 * aMatrix._13 + _42 * aMatrix._23 + aMatrix._43; 2130 matrix._44 = _41 * aMatrix._14 + _42 * aMatrix._24 + aMatrix._44; 2154 matrix._41 = _41 * aMatrix._11 + _42 * aMatrix._21 + aMatrix._41; 2157 matrix._42 = _41 * aMatrix._12 + _42 * aMatrix._22 + aMatrix._42; 2165 matrix._41 = _41 * aMatrix._11 + _42 * aMatrix._21 + aMatrix._41; [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/2d/ |
H A D | Matrix.cpp | 90 resultMatrix._11 = this->_11 * aMatrix._11 + this->_12 * aMatrix._21; in operator *() 91 resultMatrix._12 = this->_11 * aMatrix._12 + this->_12 * aMatrix._22; in operator *() 92 resultMatrix._13 = this->_11 * aMatrix._13 + this->_12 * aMatrix._23; in operator *() 93 resultMatrix._14 = this->_11 * aMatrix._14 + this->_12 * aMatrix._24; in operator *() 95 resultMatrix._21 = this->_21 * aMatrix._11 + this->_22 * aMatrix._21; in operator *() 96 resultMatrix._22 = this->_21 * aMatrix._12 + this->_22 * aMatrix._22; in operator *() 97 resultMatrix._23 = this->_21 * aMatrix._13 + this->_22 * aMatrix._23; in operator *() 106 this->_31 * aMatrix._11 + this->_32 * aMatrix._21 + aMatrix._41; in operator *() 108 this->_31 * aMatrix._12 + this->_32 * aMatrix._22 + aMatrix._42; in operator *() 110 this->_31 * aMatrix._13 + this->_32 * aMatrix._23 + aMatrix._43; in operator *() [all …]
|
H A D | Matrix.h | 75 << aMatrix._21 << " " << aMatrix._22 << "; " << aMatrix._31 276 this->_31 * aMatrix._11 + this->_32 * aMatrix._21 + aMatrix._31; 278 this->_31 * aMatrix._12 + this->_32 * aMatrix._22 + aMatrix._32; 2109 matrix._41 = _41 * aMatrix._11 + _42 * aMatrix._21 + aMatrix._41; 2113 matrix._42 = _41 * aMatrix._12 + _42 * aMatrix._22 + aMatrix._42; 2117 matrix._43 = _41 * aMatrix._13 + _42 * aMatrix._23 + aMatrix._43; 2121 matrix._44 = _41 * aMatrix._14 + _42 * aMatrix._24 + aMatrix._44; 2145 matrix._41 = _41 * aMatrix._11 + _42 * aMatrix._21 + aMatrix._41; 2148 matrix._42 = _41 * aMatrix._12 + _42 * aMatrix._22 + aMatrix._42; 2156 matrix._41 = _41 * aMatrix._11 + _42 * aMatrix._21 + aMatrix._41; [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/thebes/ |
H A D | gfxMatrix.cpp | 168 resultMatrix._11 = _11 * aMatrix._11 + _12 * aMatrix._21; in operator *() 169 resultMatrix._12 = _11 * aMatrix._12 + _12 * aMatrix._22; in operator *() 170 resultMatrix._13 = _11 * aMatrix._13 + _12 * aMatrix._23; in operator *() 171 resultMatrix._14 = _11 * aMatrix._14 + _12 * aMatrix._24; in operator *() 173 resultMatrix._21 = _21 * aMatrix._11 + _22 * aMatrix._21; in operator *() 174 resultMatrix._22 = _21 * aMatrix._12 + _22 * aMatrix._22; in operator *() 175 resultMatrix._23 = _21 * aMatrix._13 + _22 * aMatrix._23; in operator *() 183 resultMatrix._41 = _31 * aMatrix._11 + _32 * aMatrix._21 + aMatrix._41; in operator *() 184 resultMatrix._42 = _31 * aMatrix._12 + _32 * aMatrix._22 + aMatrix._42; in operator *() 185 resultMatrix._43 = _31 * aMatrix._13 + _32 * aMatrix._23 + aMatrix._43; in operator *() [all …]
|
H A D | gfxQuaternion.h | 20 explicit gfxQuaternion(const mozilla::gfx::Matrix4x4& aMatrix) { in gfxQuaternion() 21 w = 0.5 * sqrt(std::max(1 + aMatrix[0][0] + aMatrix[1][1] + aMatrix[2][2], 0.0f)); in gfxQuaternion() 22 x = 0.5 * sqrt(std::max(1 + aMatrix[0][0] - aMatrix[1][1] - aMatrix[2][2], 0.0f)); in gfxQuaternion() 23 y = 0.5 * sqrt(std::max(1 - aMatrix[0][0] + aMatrix[1][1] - aMatrix[2][2], 0.0f)); in gfxQuaternion() 24 z = 0.5 * sqrt(std::max(1 - aMatrix[0][0] - aMatrix[1][1] + aMatrix[2][2], 0.0f)); in gfxQuaternion() 26 if(aMatrix[2][1] > aMatrix[1][2]) in gfxQuaternion() 28 if(aMatrix[0][2] > aMatrix[2][0]) in gfxQuaternion() 30 if(aMatrix[1][0] > aMatrix[0][1]) in gfxQuaternion()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/layout/style/ |
H A D | nsStyleTransformMatrix.cpp | 223 aMatrix = result * aMatrix; in ProcessMatrix() 262 aMatrix = temp * aMatrix; in ProcessMatrix3D() 294 aMatrix = in ProcessInterpolateMatrix() 296 * aMatrix; in ProcessInterpolateMatrix() 512 aMatrix.RotateZ(theta); in ProcessRotateZ() 520 aMatrix.RotateX(theta); in ProcessRotateX() 544 aMatrix = temp * aMatrix; in ProcessRotate3D() 879 float A = aMatrix._11, in Decompose2DMatrix() 880 B = aMatrix._12, in Decompose2DMatrix() 881 C = aMatrix._21, in Decompose2DMatrix() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/layout/style/ |
H A D | nsStyleTransformMatrix.cpp | 150 aMatrix = result * aMatrix; in ProcessMatrix() 177 aMatrix = temp * aMatrix; in ProcessMatrix3D() 281 aMatrix = Operator::operateByServo(matrix1, matrix2, aProgress) * aMatrix; in ProcessMatrixOperator() 309 aMatrix.PreTranslate(temp); in ProcessTranslateX() 319 aMatrix.PreTranslate(temp); in ProcessTranslateY() 325 aMatrix.PreTranslate(temp); in ProcessTranslateZ() 335 aMatrix.PreTranslate(temp); in ProcessTranslate() 347 aMatrix.PreTranslate(temp); in ProcessTranslate3D() 374 aMatrix = temp * aMatrix; in ProcessRotate3D() 718 float A = aMatrix._11, B = aMatrix._12, C = aMatrix._21, D = aMatrix._22; in Decompose2DMatrix() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/layout/style/ |
H A D | nsStyleTransformMatrix.cpp | 150 aMatrix = result * aMatrix; in ProcessMatrix() 177 aMatrix = temp * aMatrix; in ProcessMatrix3D() 281 aMatrix = Operator::operateByServo(matrix1, matrix2, aProgress) * aMatrix; in ProcessMatrixOperator() 309 aMatrix.PreTranslate(temp); in ProcessTranslateX() 319 aMatrix.PreTranslate(temp); in ProcessTranslateY() 325 aMatrix.PreTranslate(temp); in ProcessTranslateZ() 335 aMatrix.PreTranslate(temp); in ProcessTranslate() 347 aMatrix.PreTranslate(temp); in ProcessTranslate3D() 374 aMatrix = temp * aMatrix; in ProcessRotate3D() 718 float A = aMatrix._11, B = aMatrix._12, C = aMatrix._21, D = aMatrix._22; in Decompose2DMatrix() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/2d/ |
H A D | Matrix.h | 1114 matrix._11 = _11 * aMatrix._11 + _12 * aMatrix._21 + _13 * aMatrix._31 + _14 * aMatrix._41; 1115 matrix._21 = _21 * aMatrix._11 + _22 * aMatrix._21 + _23 * aMatrix._31 + _24 * aMatrix._41; 1116 matrix._31 = _31 * aMatrix._11 + _32 * aMatrix._21 + _33 * aMatrix._31 + _34 * aMatrix._41; 1117 matrix._41 = _41 * aMatrix._11 + _42 * aMatrix._21 + _43 * aMatrix._31 + _44 * aMatrix._41; 1118 matrix._12 = _11 * aMatrix._12 + _12 * aMatrix._22 + _13 * aMatrix._32 + _14 * aMatrix._42; 1119 matrix._22 = _21 * aMatrix._12 + _22 * aMatrix._22 + _23 * aMatrix._32 + _24 * aMatrix._42; 1120 matrix._32 = _31 * aMatrix._12 + _32 * aMatrix._22 + _33 * aMatrix._32 + _34 * aMatrix._42; 1121 matrix._42 = _41 * aMatrix._12 + _42 * aMatrix._22 + _43 * aMatrix._32 + _44 * aMatrix._42; 1122 matrix._13 = _11 * aMatrix._13 + _12 * aMatrix._23 + _13 * aMatrix._33 + _14 * aMatrix._43; 1123 matrix._23 = _21 * aMatrix._13 + _22 * aMatrix._23 + _23 * aMatrix._33 + _24 * aMatrix._43; [all …]
|
/dports/www/firefox/firefox-99.0/layout/style/ |
H A D | nsStyleTransformMatrix.cpp | 150 aMatrix = result * aMatrix; in ProcessMatrix() 177 aMatrix = temp * aMatrix; in ProcessMatrix3D() 281 aMatrix = Operator::operateByServo(matrix1, matrix2, aProgress) * aMatrix; in ProcessMatrixOperator() 309 aMatrix.PreTranslate(temp); in ProcessTranslateX() 319 aMatrix.PreTranslate(temp); in ProcessTranslateY() 325 aMatrix.PreTranslate(temp); in ProcessTranslateZ() 335 aMatrix.PreTranslate(temp); in ProcessTranslate() 347 aMatrix.PreTranslate(temp); in ProcessTranslate3D() 374 aMatrix = temp * aMatrix; in ProcessRotate3D() 378 Matrix4x4& aMatrix, in ProcessPerspective() argument [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/layout/style/ |
H A D | nsStyleTransformMatrix.cpp | 158 aMatrix = result * aMatrix; in ProcessMatrix() 185 aMatrix = temp * aMatrix; in ProcessMatrix3D() 289 aMatrix = Operator::operateByServo(matrix1, matrix2, aProgress) * aMatrix; in ProcessMatrixOperator() 317 aMatrix.PreTranslate(temp); in ProcessTranslateX() 327 aMatrix.PreTranslate(temp); in ProcessTranslateY() 333 aMatrix.PreTranslate(temp); in ProcessTranslateZ() 343 aMatrix.PreTranslate(temp); in ProcessTranslate() 355 aMatrix.PreTranslate(temp); in ProcessTranslate3D() 382 aMatrix = temp * aMatrix; in ProcessRotate3D() 726 float A = aMatrix._11, B = aMatrix._12, C = aMatrix._21, D = aMatrix._22; in Decompose2DMatrix() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/layout/style/ |
H A D | nsStyleTransformMatrix.cpp | 235 aMatrix = result * aMatrix; in ProcessMatrix() 270 aMatrix = temp * aMatrix; in ProcessMatrix3D() 512 aMatrix = in ProcessMatrixOperator() 514 aMatrix; in ProcessMatrixOperator() 518 aMatrix = in ProcessMatrixOperator() 719 aMatrix.RotateZ(theta); in ProcessRotateZ() 725 aMatrix.RotateX(theta); in ProcessRotateX() 731 aMatrix.RotateY(theta); in ProcessRotateY() 746 aMatrix = temp * aMatrix; in ProcessRotate3D() 1103 float A = aMatrix._11, B = aMatrix._12, C = aMatrix._21, D = aMatrix._22; in Decompose2DMatrix() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/thebes/ |
H A D | gfxQuaternion.h | 22 explicit gfxQuaternion(const mozilla::gfx::Matrix4x4& aMatrix) { in gfxQuaternion() 24 sqrt(std::max(1 + aMatrix[0][0] + aMatrix[1][1] + aMatrix[2][2], 0.0f)); in gfxQuaternion() 26 sqrt(std::max(1 + aMatrix[0][0] - aMatrix[1][1] - aMatrix[2][2], 0.0f)); in gfxQuaternion() 28 sqrt(std::max(1 - aMatrix[0][0] + aMatrix[1][1] - aMatrix[2][2], 0.0f)); in gfxQuaternion() 30 sqrt(std::max(1 - aMatrix[0][0] - aMatrix[1][1] + aMatrix[2][2], 0.0f)); in gfxQuaternion() 32 if (aMatrix[2][1] > aMatrix[1][2]) x = -x; in gfxQuaternion() 33 if (aMatrix[0][2] > aMatrix[2][0]) y = -y; in gfxQuaternion() 34 if (aMatrix[1][0] > aMatrix[0][1]) z = -z; in gfxQuaternion()
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/thebes/ |
H A D | gfxQuaternion.h | 22 explicit gfxQuaternion(const mozilla::gfx::Matrix4x4& aMatrix) { in gfxQuaternion() 24 sqrt(std::max(1 + aMatrix[0][0] + aMatrix[1][1] + aMatrix[2][2], 0.0f)); in gfxQuaternion() 26 sqrt(std::max(1 + aMatrix[0][0] - aMatrix[1][1] - aMatrix[2][2], 0.0f)); in gfxQuaternion() 28 sqrt(std::max(1 - aMatrix[0][0] + aMatrix[1][1] - aMatrix[2][2], 0.0f)); in gfxQuaternion() 30 sqrt(std::max(1 - aMatrix[0][0] - aMatrix[1][1] + aMatrix[2][2], 0.0f)); in gfxQuaternion() 32 if (aMatrix[2][1] > aMatrix[1][2]) x = -x; in gfxQuaternion() 33 if (aMatrix[0][2] > aMatrix[2][0]) y = -y; in gfxQuaternion() 34 if (aMatrix[1][0] > aMatrix[0][1]) z = -z; in gfxQuaternion()
|
/dports/www/firefox/firefox-99.0/gfx/thebes/ |
H A D | gfxQuaternion.h | 22 explicit gfxQuaternion(const mozilla::gfx::Matrix4x4& aMatrix) { in gfxQuaternion() 24 sqrt(std::max(1 + aMatrix[0][0] + aMatrix[1][1] + aMatrix[2][2], 0.0f)); in gfxQuaternion() 26 sqrt(std::max(1 + aMatrix[0][0] - aMatrix[1][1] - aMatrix[2][2], 0.0f)); in gfxQuaternion() 28 sqrt(std::max(1 - aMatrix[0][0] + aMatrix[1][1] - aMatrix[2][2], 0.0f)); in gfxQuaternion() 30 sqrt(std::max(1 - aMatrix[0][0] - aMatrix[1][1] + aMatrix[2][2], 0.0f)); in gfxQuaternion() 32 if (aMatrix[2][1] > aMatrix[1][2]) x = -x; in gfxQuaternion() 33 if (aMatrix[0][2] > aMatrix[2][0]) y = -y; in gfxQuaternion() 34 if (aMatrix[1][0] > aMatrix[0][1]) z = -z; in gfxQuaternion()
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/thebes/ |
H A D | gfxQuaternion.h | 22 explicit gfxQuaternion(const mozilla::gfx::Matrix4x4& aMatrix) { in gfxQuaternion() 24 sqrt(std::max(1 + aMatrix[0][0] + aMatrix[1][1] + aMatrix[2][2], 0.0f)); in gfxQuaternion() 26 sqrt(std::max(1 + aMatrix[0][0] - aMatrix[1][1] - aMatrix[2][2], 0.0f)); in gfxQuaternion() 28 sqrt(std::max(1 - aMatrix[0][0] + aMatrix[1][1] - aMatrix[2][2], 0.0f)); in gfxQuaternion() 30 sqrt(std::max(1 - aMatrix[0][0] - aMatrix[1][1] + aMatrix[2][2], 0.0f)); in gfxQuaternion() 32 if (aMatrix[2][1] > aMatrix[1][2]) x = -x; in gfxQuaternion() 33 if (aMatrix[0][2] > aMatrix[2][0]) y = -y; in gfxQuaternion() 34 if (aMatrix[1][0] > aMatrix[0][1]) z = -z; in gfxQuaternion()
|