code: function(object) {
    return Array.isArray(object) ? object : [object.x, object.y, object.z];
  }
docs: Converts an object with x, y, and z properties into
  an array, or an array if passed an array.
  @param {Object|Array} object