src/Vec3.js
function(m){
        return new Vec3(
            this.x*m[0][0]+this.y*m[0][1]+this.z*m[0][2],
            this.x*m[1][0]+this.y*m[1][1]+this.z*m[1][2],
            this.x*m[2][0]+this.y*m[2][1]+this.z*m[2][2]
        );
    }
function(m){
        return new Vec3(
            this.x*m[0][0]+this.y*m[0][1]+this.z*m[0][2],
            this.x*m[1][0]+this.y*m[1][1]+this.z*m[1][2],
            this.x*m[2][0]+this.y*m[2][1]+this.z*m[2][2]
        );
    }
function ( m ) { return new Vec3 ( this . x * m [ 0 ] [ 0 ] + this . y * m [ 0 ] [ 1 ] + this . z * m [ 0 ] [ 2 ] , this . x * m [ 1 ] [ 0 ] + this . y * m [ 1 ] [ 1 ] + this . z * m [ 1 ] [ 2 ] , this . x * m [ 2 ] [ 0 ] + this . y * m [ 2 ] [ 1 ] + this . z * m [ 2 ] [ 2 ] ) ; }
Creates a new vector converting the vector to a new coordinate frame.
@memberof Vec3#
@param {Array} m - Coordinate system matrix of the form [[xx,xy,xz],[yx,yy,yz],[zx,zy,zz]]
@returns {Vec3}
Creates a new vector converting the vector to a new coordinate frame .