dist/melonjs.js
function translate(x, y) {
         if (this.settings.subPixel === false) {
           this.currentTransform.translate(~~x, ~~y);
         } else {
           this.currentTransform.translate(x, y);
         }
       }
function translate(x, y) {
         if (this.settings.subPixel === false) {
           this.currentTransform.translate(~~x, ~~y);
         } else {
           this.currentTransform.translate(x, y);
         }
       }
function translate ( x , y ) { if ( this . settings . subPixel === false ) { this . currentTransform . translate ( ~ ~ x , ~ ~ y ) ; } else { this . currentTransform . translate ( x , y ) ; } }
Translates the uniform matrix by the given coordinates
@name translate
@memberOf me.WebGLRenderer.prototype
@function
@param {Number} x
@param {Number} y
Translates the uniform matrix by the given coordinates