public Vector3f smoothStep(Vector3fc v, float t, Vector3f dest) {
        float t2 = t * t;
        float t3 = t2 * t;
        dest.x = (x + x - v.x() - v.x()) * t3 + (3.0f * v.x() - 3.0f * x) * t2 + x * t + x;
        dest.y = (y + y - v.y() - v.y()) * t3 + (3.0f * v.y() - 3.0f * y) * t2 + y * t + y;
        dest.z = (z + z - v.z() - v.z()) * t3 + (3.0f * v.z() - 3.0f * z) * t2 + z * t + z;
        return dest;
    }
public Vector3f smoothStep ( Vector3fc v , float t , Vector3f dest ) { float t2 = t * t ; float t3 = t2 * t ; dest . x = ( x + x - v . x ( ) - v . x ( ) ) * t3 + ( 3.0f * v . x ( ) - 3.0f * x ) * t2 + x * t + x ; dest . y = ( y + y - v . y ( ) - v . y ( ) ) * t3 + ( 3.0f * v . y ( ) - 3.0f * y ) * t2 + y * t + y ; dest . z = ( z + z - v . z ( ) - v . z ( ) ) * t3 + ( 3.0f * v . z ( ) - 3.0f * z ) * t2 + z * t + z ; return dest ; }
/* (non-Javadoc)
@see org.joml.Vector3fc#smoothStep(org.joml.Vector3fc, float, org.joml.Vector3f)