Searched defs:glMatrix (Results 1 - 10 of 10) sorted by relevance

/external/chromium-trace/catapult/tracing/third_party/gl-matrix/src/gl-matrix/
H A Dcommon.js23 * @name glMatrix
25 var glMatrix = {};
28 glMatrix.EPSILON = 0.000001;
29 glMatrix.ARRAY_TYPE = (typeof Float32Array !== 'undefined') ? Float32Array : Array;
30 glMatrix.RANDOM = Math.random;
37 glMatrix.setMatrixArrayType = function(type) {
48 glMatrix.toRadian = function(a){
52 module.exports = glMatrix;
H A Dmat2.js21 var glMatrix = require("./common.js"); variable
35 var out = new glMatrix.ARRAY_TYPE(4);
50 var out = new glMatrix.ARRAY_TYPE(4);
H A Dmat2d.js21 var glMatrix = require("./common.js"); variable
49 var out = new glMatrix.ARRAY_TYPE(6);
66 var out = new glMatrix.ARRAY_TYPE(6);
H A Dquat.js21 var glMatrix = require("./common.js"); variable
38 var out = new glMatrix.ARRAY_TYPE(4);
H A Dmat3.js21 var glMatrix = require("./common.js"); variable
35 var out = new glMatrix.ARRAY_TYPE(9);
75 var out = new glMatrix.ARRAY_TYPE(9);
H A Dvec2.js21 var glMatrix = require("./common.js"); variable
35 var out = new glMatrix.ARRAY_TYPE(2);
48 var out = new glMatrix.ARRAY_TYPE(2);
62 var out = new glMatrix.ARRAY_TYPE(2);
399 var r = glMatrix.RANDOM() * 2.0 * Math.PI;
H A Dvec4.js21 var glMatrix = require("./common.js"); variable
35 var out = new glMatrix.ARRAY_TYPE(4);
50 var out = new glMatrix.ARRAY_TYPE(4);
68 var out = new glMatrix.ARRAY_TYPE(4);
434 out[0] = glMatrix.RANDOM();
435 out[1] = glMatrix.RANDOM();
436 out[2] = glMatrix.RANDOM();
437 out[3] = glMatrix.RANDOM();
H A Dmat4.js21 var glMatrix = require("./common.js"); variable
35 var out = new glMatrix.ARRAY_TYPE(16);
62 var out = new glMatrix.ARRAY_TYPE(16);
432 if (Math.abs(len) < glMatrix.EPSILON) { return null; }
683 if (Math.abs(len) < glMatrix.EPSILON) { return null; }
1193 if (Math.abs(eyex - centerx) < glMatrix.EPSILON &&
1194 Math.abs(eyey - centery) < glMatrix.EPSILON &&
1195 Math.abs(eyez - centerz) < glMatrix.EPSILON) {
H A Dvec3.js21 var glMatrix = require("./common.js"); variable
35 var out = new glMatrix.ARRAY_TYPE(3);
49 var out = new glMatrix.ARRAY_TYPE(3);
65 var out = new glMatrix.ARRAY_TYPE(3);
479 var r = glMatrix.RANDOM() * 2.0 * Math.PI;
480 var z = (glMatrix.RANDOM() * 2.0) - 1.0;
/external/skia/src/gpu/gl/
H A DGrGLPathRendering.cpp233 float glMatrix[4 * 4]; local
234 fHWProjectionMatrixState.getRTAdjustedGLMatrix<4>(glMatrix);
235 GL_CALL(MatrixLoadf(GR_GL_PATH_PROJECTION, glMatrix));

Completed in 116 milliseconds