fun mapFromSnapSystem(value: Float, sortedSnapPoints: FloatArray, snapRange: Float, extendedRange: Boolean, snapped: BooleanArray? = null): Float