function originChanged (node, components, offsets) {
    var x = offsets.origin[0];
    var y = offsets.origin[1];
    var z = offsets.origin[2];
    if (node.onOriginChange) node.onOriginChange(x, y, z);
    for (var i = 0, len = components.length ; i < len ; i++)
        if (components[i] && components[i].onOriginChange)
            components[i].onOriginChange(x, y, z);
    offsets.originChanged = false;
}
Private method to call when Origin changes. Triggers 'onOriginChange' methods
on the node and all of the node's components

@method
@private

@param {Node} node the node on which to trigger a change event if necessary
@param {Array} components the components on which to trigger a change event if necessary
@param {Object} offsets the set of offsets from the transform

@return {undefined} undefined