code: function(dec) {
          if(!dec){
              dec = 2;
          }
          return '{x: ' + this.x.toFixed(dec) + ', y: ' + this.y.toFixed(dec)  + ', z: ' + this.z.toFixed(dec)  + '}';
      }
docs: Converts the vector to a string representation.
  @memberof Vec3#
  @param   {Number}  [dec=2] - number of decimal places to round to (default is 2)
  @returns {string} string of the form {x: <x value>, y: <y value>, z: <z value>}