Vector3d.orthogonalizeUnit

Transform <code>this</code> vector so that it is orthogonal to the given unit vector <code>v</code> and normalize the result. <p> The vector <code>v</code> is assumed to be a {@link #normalize() unit} vector. <p> Reference: <a href="https://en.wikipedia.org/wiki/Gram%E2%80%93Schmidt_process">Gram–Schmidt process</a>

@param v the reference unit vector which the result should be orthogonal to @return this

  1. Vector3d orthogonalizeUnit(Vector3d v, Vector3d dest)
  2. Vector3d orthogonalizeUnit(Vector3d v)
    struct Vector3d
    ref public return
    orthogonalizeUnit

Meta