Skip to content
This repository
Browse code

adds some extra definitions

  • Loading branch information...
commit 9e0846ad63b77de596ee67cc808e7fa1840d3bac 1 parent 6e48297
Rolando Abarca authored

Showing 1 changed file with 46 additions and 0 deletions. Show diff stats Hide diff stats

  1. +46 0 deps.js
46 deps.js
@@ -80,6 +80,52 @@ var _touchMovedListeners = function (callback) {};
80 80 */
81 81 var _touchEndedListeners = function (callback) {};
82 82
  83 +// these are native implementations of the goog.vec.mat4 functions
  84 +
  85 +/**
  86 + * @param {goog.vec.Mat4.AnyType} mat0
  87 + * @param {goog.vec.Mat4.AnyType} mat1
  88 + * @param {goog.vec.Mat4.AnyType=} out
  89 + * @return {goog.vec.Mat4.AnyType}
  90 + */
  91 +var _mat4mul = function (mat0, mat1, out) {};
  92 +
  93 +/**
  94 + * @param {goog.vec.Mat4.AnyType} mat
  95 + * @param {goog.vec.Vec3.AnyType} vec
  96 + * @param {goog.vec.Vec3.AnyType=} out
  97 + * @return {goog.vec.Vec3.AnyType}
  98 + */
  99 +var _mat4mulvec3 = function (mat, vec, out) {};
  100 +
  101 +/**
  102 + * @param {goog.vec.Mat4.AnyType} mat
  103 + * @param {number} x
  104 + * @param {number} y
  105 + * @param {number} z
  106 + * @return {goog.vec.Mat4.AnyType}
  107 + */
  108 +var _mat4translate = function (mat, x, y, z) {};
  109 +
  110 +/**
  111 + * @param {goog.vec.Mat4.AnyType} mat
  112 + * @param {number} angle
  113 + * @param {number} x
  114 + * @param {number} y
  115 + * @param {number} z
  116 + * @return {goog.vec.Mat4.AnyType}
  117 + */
  118 +var _mat4rotate = function (mat, angle, x, y, z) {};
  119 +
  120 +/**
  121 + * @param {goog.vec.Mat4.AnyType} mat
  122 + * @param {number} x
  123 + * @param {number} y
  124 + * @param {number} z
  125 + * @return {goog.vec.Mat4.AnyType}
  126 + */
  127 +var _mat4scale = function (mat, x, y, z) {};
  128 +
83 129 /**
84 130 * @param {WebGLRenderingContext} ctx
85 131 * @param {function(Object, string, Object)=} callback

0 comments on commit 9e0846a

Please sign in to comment.
Something went wrong with that request. Please try again.