Lines Matching refs:M44
228 CanvasKit.M44 = {};
230 CanvasKit.M44.identity = function() {
236 CanvasKit.M44.translated = function(vec) {
240 CanvasKit.M44.scaled = function(vec) {
245 CanvasKit.M44.rotated = function(axisVec, radians) {
246 return CanvasKit.M44.rotatedUnitSinCos(
255 CanvasKit.M44.rotatedUnitSinCos = function(axisVec, sinAngle, cosAngle) {
270 CanvasKit.M44.lookat = function(eyeVec, centerVec, upVec) {
275 var m = CanvasKit.M44.identity();
282 var m2 = CanvasKit.M44.invert(m);
284 return CanvasKit.M44.identity();
290 CanvasKit.M44.perspective = function(near, far, angle) {
305 CanvasKit.M44.rc = function(m, r, c) {
309 CanvasKit.M44.multiply = function() {
316 CanvasKit.M44.invert = function(m) {
405 CanvasKit.M44.transpose = function(m) {
415 CanvasKit.M44.mustInvert = function(m) {
416 var m2 = CanvasKit.M44.invert(m);
437 CanvasKit.M44.setupCamera = function(area, zscale, cam) {
438 var camera = CanvasKit.M44.lookat(cam['eye'], cam['coa'], cam['up']);
439 var perspective = CanvasKit.M44.perspective(cam['near'], cam['far'], cam['angle']);
442 var viewport = CanvasKit.M44.multiply(
443 CanvasKit.M44.translated(center),
444 CanvasKit.M44.scaled(viewScale));
445 return CanvasKit.M44.multiply(
446 viewport, perspective, camera, CanvasKit.M44.mustInvert(viewport));