src/Vec3.js
function(p){
        return new Vec3(Math.pow(this.x, p), Math.pow(this.y, p), Math.pow(this.z, p));
    }
function(p){
        return new Vec3(Math.pow(this.x, p), Math.pow(this.y, p), Math.pow(this.z, p));
    }
function ( p ) { return new Vec3 ( Math . pow ( this . x , p ) , Math . pow ( this . y , p ) , Math . pow ( this . z , p ) ) ; }
Raises each component of the vector to the power p and returns a new vector.
@memberof Vec3#
@returns {Vec3}
Raises each component of the vector to the power p and returns a new vector .