dist/famous-flex.js
function _getRoundedValue3D(prop, def, precision, lockValue) {
        if (!prop || !prop.init) {
            return def;
        }
        return [
            prop.enabled[0] ? (Math.round((prop.curState.x + ((prop.endState.x - prop.curState.x) * lockValue)) / precision) * precision) : prop.endState.x,
            prop.enabled[1] ? (Math.round((prop.curState.y + ((prop.endState.y - prop.curState.y) * lockValue)) / precision) * precision) : prop.endState.y,
            prop.enabled[2] ? (Math.round((prop.curState.z + ((prop.endState.z - prop.curState.z) * lockValue)) / precision) * precision) : prop.endState.z
        ];
    }
function _getRoundedValue3D(prop, def, precision, lockValue) {
        if (!prop || !prop.init) {
            return def;
        }
        return [
            prop.enabled[0] ? (Math.round((prop.curState.x + ((prop.endState.x - prop.curState.x) * lockValue)) / precision) * precision) : prop.endState.x,
            prop.enabled[1] ? (Math.round((prop.curState.y + ((prop.endState.y - prop.curState.y) * lockValue)) / precision) * precision) : prop.endState.y,
            prop.enabled[2] ? (Math.round((prop.curState.z + ((prop.endState.z - prop.curState.z) * lockValue)) / precision) * precision) : prop.endState.z
        ];
    }
function _getRoundedValue3D ( prop , def , precision , lockValue ) { if ( ! prop || ! prop . init ) { return def ; } return [ prop . enabled [ 0 ] ? ( Math . round ( ( prop . curState . x + ( ( prop . endState . x - prop . curState . x ) * lockValue ) ) / precision ) * precision ) : prop . endState . x , prop . enabled [ 1 ] ? ( Math . round ( ( prop . curState . y + ( ( prop . endState . y - prop . curState . y ) * lockValue ) ) / precision ) * precision ) : prop . endState . y , prop . enabled [ 2 ] ? ( Math . round ( ( prop . curState . z + ( ( prop . endState . z - prop . curState . z ) * lockValue ) ) / precision ) * precision ) : prop . endState . z ] ; }
Helper function for getting the property value.
Helper function for getting the property value .