Home
last modified time | relevance | path

Searched refs:mat3 (Results 1 – 25 of 78) sorted by relevance

1234

/external/chromium-trace/trace-viewer/tracing/third_party/gl-matrix/spec/gl-matrix/
Dmat3-spec.js22 var mat3 = require("../../src/gl-matrix/mat3.js");
52 result = mat3.normalFromMat4(out, matA);
62 result = mat3.normalFromMat4(out, matA);
75 result = mat3.normalFromMat4(out, matA);
92 result = mat3.fromQuat(out, q);
108 result = mat3.fromMat4(out, [ 1, 2, 3, 4,
123 beforeEach(function() { result = mat3.scale(out, matA, [2,2]); });
133 beforeEach(function() { result = mat3.create(); });
138 beforeEach(function() { result = mat3.clone(matA); });
143 beforeEach(function() { result = mat3.copy(out, matA); });
[all …]
Dquat-spec.js22 var mat3 = require("../../src/gl-matrix/mat3.js");
154 matr = mat3.create();
155mat3.transpose(matr, mat3.invert(matr, mat3.fromMat4(matr, mat4.lookAt(mat4.create(), [0, 0, 0], […
168 matr = mat3.create();
169mat3.transpose(matr, mat3.invert(matr, mat3.fromMat4(matr, mat4.lookAt(mat4.create(), [0, 0, 0], […
182 matr = mat3.create();
183mat3.transpose(matr, mat3.invert(matr, mat3.fromMat4(matr, mat4.lookAt(mat4.create(), [0, 0, 0], […
/external/deqp/data/gles31/shaders/
Darrays_of_arrays.test400 mat3[3][2] a = mat3[3][2] ( mat3[2] ( mat3( in0.x, in0.y, in0.z,
403 mat3( in0.z, in0.x, -in0.y,
407 mat3[2] ( mat3( -in0.z, -in0.z, in0.z,
410 mat3( in0.x, in0.y, in0.z,
414 mat3[2] ( mat3( in0.z, in0.x, -in0.y,
417 mat3( -in0.z, -in0.z, in0.z,
421 mat3 a0 = a[0][0];
422 mat3 a1 = a[0][1];
423 mat3 a2 = a[2][1];
454 mat3 a = mat3( in0.x, in0.y, in0.z,
[all …]
Dlinkage_tessellation_varying_types.test435 case mat3
437 desc "varying of type mat3"
441 …put mat3 in0 = [ mat3(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 9.9) | mat3(0.0, 1.0…
442 …put mat3 out0 = [ mat3(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 9.9) | mat3(0.0, 1.0…
447 out mediump mat3 vtx_var;
457 in mediump mat3 vtx_var[];
458 out mediump mat3 tc_out[];
468 in mediump mat3 tc_out[];
469 out mediump mat3 te_out;
480 in mat3 te_out;
Dlinkage_geometry_varying_types.test379 case mat3
381 desc "varying of type mat3"
385 …put mat3 in0 = [ mat3(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 9.9) | mat3(0.0, 1.0…
386 …put mat3 out0 = [ mat3(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 9.9) | mat3(0.0, 1.0…
391 out mediump mat3 vtx_var;
401 in mediump mat3 vtx_var[];
402 out mediump mat3 geo_var;
417 in mat3 geo_var;
Dlinkage_tessellation_uniform_types.test419 case mat3
421 desc "uniform of type mat3"
425 uniform mat3 val0 = [ mat3(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 9.9) ];
426 uniform mat3 val1 = [ mat3(1.0, 1.5, 2.5, -1.0, 2.0, 1.0, 3.0, 4.0, -1.0) ];
427 output mat3 out0 = [ mat3(0.75, 4.25, -4.5, -14.2, -21.65, -5.25, 20.21, -69.7, 7.9) ];
440 out mediump mat3 tc_out[];
450 in mediump mat3 tc_out[];
451 out mediump mat3 te_out;
462 in mat3 te_out;
Dlinkage_tessellation_geometry_varying_types.test563 case mat3
565 desc "varying of type mat3"
570 …put mat3 in0 = [ mat3(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 9.9) | mat3(0.0, 1.0…
571 …put mat3 out0 = [ mat3(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 9.9) | mat3(0.0, 1.0…
576 out mediump mat3 vtx_var;
586 in mediump mat3 vtx_var[];
587 out mediump mat3 tc_out[];
597 in mediump mat3 tc_out[];
598 out mediump mat3 te_out;
608 in mediump mat3 te_out[];
[all …]
/external/deqp/data/gles3/shaders/
Darrays.test340 mat3[3] a = mat3[3] ( mat3( in0.x, in0.y, in0.z,
343 mat3( in0.z, in0.x, -in0.y,
346 mat3( -in0.z, -in0.z, in0.z,
350 mat3 a0 = a[0];
351 mat3 a1 = a[1];
352 mat3 a2 = a[2];
381 mat3[3] a = mat3[3] ( mat3( in0.x, in0.y, in0.z,
384 mat3( in0.z, in0.x, -in0.y,
387 mat3( -in0.z, -in0.z, in0.z,
391 mat3 a0 = a[0];
[all …]
Dconversions.test6175mat3 out0 = [ mat3(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) | mat3(1.0, 0.0, 0.0, 0.0, 1.0, 0.…
6188 out0 = mat3(in0);
6391mat3 out0 = [ mat3(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) | mat3(1.0, 0.0, 0.0, 0.0, 1.0, 0.…
6404 out0 = mat3(in0);
6607mat3 out0 = [ mat3(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) | mat3(2.0, 0.0, 0.0, 0.0, 2.0, 0.…
6620 out0 = mat3(in0);
6823 …output mat3 out0 = [ mat3(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0) | mat3(0.0, 0.0, 0.0, 0.0, …
6836 out0 = mat3(in0);
7043 …output mat3 out0 = [ mat3(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0) | mat3(6.5, 32.0, 0.125, 12…
7056 out0 = mat3(in0);
[all …]
/external/chromium-trace/trace-viewer/tracing/third_party/gl-matrix/src/gl-matrix/
Dmat3.js27 var mat3 = {}; variable
34 mat3.create = function() {
55 mat3.fromMat4 = function(out, a) {
74 mat3.clone = function(a) {
95 mat3.copy = function(out, a) {
114 mat3.identity = function(out) {
134 mat3.transpose = function(out, a) {
166 mat3.invert = function(out, a) {
202 mat3.adjoint = function(out, a) {
225 mat3.determinant = function (a) {
[all …]
/external/eigen/test/
Dgeo_orthomethods.cpp36 Matrix3 mat3; in orthomethods_3() local
37 mat3 << v0.normalized(), in orthomethods_3()
40 VERIFY(mat3.isUnitary()); in orthomethods_3()
44 mat3.setRandom(); in orthomethods_3()
48 mcross = mat3.colwise().cross(vec3); in orthomethods_3()
49 VERIFY_IS_APPROX(mcross.col(i), mat3.col(i).cross(vec3)); in orthomethods_3()
50 mcross = mat3.rowwise().cross(vec3); in orthomethods_3()
51 VERIFY_IS_APPROX(mcross.row(i), mat3.row(i).cross(vec3)); in orthomethods_3()
/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/
DTangent.glsllib1 uniform mat3 g_NormalMatrix;
8 mat3 Tangent_GetBasis(){
10 return mat3(wvTangent, wvBinormal, wvNormal);
DHdr.glsllib21 const mat3 rgbToXyz = mat3(
26 const mat3 xyzToRgb = mat3(
/external/deqp/data/gles2/shaders/
Dconversions.test3166mat3 out0 = [ mat3(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) | mat3(1.0, 0.0, 0.0, 0.0, 1.0, 0.…
3178 out0 = mat3(in0);
3232mat3 out0 = [ mat3(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) | mat3(1.0, 0.0, 0.0, 0.0, 1.0, 0.…
3244 out0 = mat3(in0);
3298 …output mat3 out0 = [ mat3(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0) | mat3(0.0, 0.0, 0.0, 0.0, …
3310 out0 = mat3(in0);
3368 …output mat3 out0 = [ mat3(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0) | mat3(6.5, 32.0, 0.125, 12…
3380 out0 = mat3(in0);
3411 …input mat3 in0 = [ mat3(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0) | mat3(6.5, 32.0, 0.125, 12.5…
3433 …input mat3 in0 = [ mat3(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0) | mat3(6.5, 32.0, 0.125, 12.5…
[all …]
/external/eigen/doc/snippets/
DTutorial_AdvancedInitialization_ThreeWays.cpp16 MatrixXd mat3(size, size);
17 mat3 << MatrixXd::Zero(size/2, size/2), MatrixXd::Identity(size/2, size/2),
19 std::cout << mat3 << std::endl;
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
DTestCollisionShapeFactory.java59 private Material mat3; field in TestCollisionShapeFactory
90 myGeom.setMaterial(mat3); in simpleInitApp()
130 mat3 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); in createMaterial()
131 mat3.setColor("Color", ColorRGBA.Yellow); in createMaterial()
DTestBrickWall.java70 Material mat3; field in TestBrickWall
158 floor.setMaterial(mat3); in initFloor()
179 mat3 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); in initMaterial()
184 mat3.setTexture("ColorMap", tex3); in initMaterial()
DTestBrickTower.java80 Material mat3; field in TestBrickTower
185 floor.setMaterial(mat3); in initFloor()
206 mat3 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); in initMaterial()
211 mat3.setTexture("ColorMap", tex3); in initMaterial()
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Water/
Dsimple_water.vert14 uniform mat3 g_NormalMatrix;
68 mat3 tbnMat = mat3(wvTangent, wvBinormal, wvNormal);
DWater.frag56 mat3 MatrixInverse(in mat3 inMatrix){
58 mat3 T = transpose(inMatrix);
59 return mat3(cross(T[1], T[2]),
65 mat3 computeTangentFrame(in vec3 N, in vec3 P, in vec2 UV) {
72 mat3 M = mat3(dp1, dp2, cross(dp1, dp2));
74 mat3 inverseM = MatrixInverse(M);
91 return mat3(T, B, N);
300 mat3 tangentFrame = computeTangentFrame(myNormal, eyeVecNorm, texC);
/external/eigen/doc/
DQuickReference.dox322 mat3 = mat1 + mat2; mat3 += mat1;
323 mat3 = mat1 - mat2; mat3 -= mat1;\endcode
327 mat3 = mat1 * s1; mat3 *= s1; mat3 = s1 * mat1;
328 mat3 = mat1 / s1; mat3 /= s1;\endcode
334 mat3 = mat1 * mat2; mat3 *= mat1; \endcode
566 mat3 = scalar * diag1 * mat1;
567 mat3 += scalar * mat1 * vec1.asDiagonal();
568 mat3 = vec1.asDiagonal().inverse() * mat1
569 mat3 = mat1 * diag1.inverse()
694 mat1.triangularView<Upper>() = mat2 + mat3; // only the upper part is evaluated and referenced
[all …]
/external/jmonkeyengine/engine/src/test/jme3test/batching/
DTestBatchNodeCluster.java64 Material mat3; field in TestBatchNodeCluster
89 mat3 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); in simpleInitApp()
90 mat3.setColor("Color", ColorRGBA.White); in simpleInitApp()
91 mat3.setColor("GlowColor", ColorRGBA.Yellow.mult(10)); in simpleInitApp()
154 box.setMaterial(mat3); in randomGenerator()
DTestBatchNodeTower.java84 Material mat3; field in TestBatchNodeTower
199 floor.setMaterial(mat3); in initFloor()
220 mat3 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); in initMaterial()
225 mat3.setTexture("ColorMap", tex3); in initMaterial()
/external/jmonkeyengine/engine/src/terrain/Common/MatDefs/Terrain/
DTerrainLighting.vert3 uniform mat3 g_NormalMatrix;
72 mat3 tbnMat = mat3(wvTangent, wvBinormal * -inTangent.w,wvNormal);
/external/eigen/test/eigen2/
Deigen2_geometry.cpp185 Matrix3 mat3 = Matrix3::Random(); in geometry() local
187 mat4 << mat3 , Vector3::Zero() , Vector4::Zero().transpose(); in geometry()
188 Transform3 tmat3(mat3), tmat4(mat4); in geometry()
414 mat3.setRandom(); in geometry()
418 mcross = mat3.colwise().cross(vec3); in geometry()
419 VERIFY_IS_APPROX(mcross.col(i), mat3.col(i).cross(vec3)); in geometry()
420 mcross = mat3.rowwise().cross(vec3); in geometry()
421 VERIFY_IS_APPROX(mcross.row(i), mat3.row(i).cross(vec3)); in geometry()

1234