perpendicular

Compute two arbitrary vectors perpendicular to the given normalized vector <code>v</code>, and store them in <code>dest1</code> and <code>dest2</code>, respectively. <p> The computed vectors will themselves be perpendicular to each another and normalized. So the tree vectors <code>v</code>, <code>dest1</code> and <code>dest2</code> form an orthonormal basis.

@param v the {@link Vector3d#normalize() normalized} input vector @param dest1 will hold the first perpendicular vector @param dest2 will hold the second perpendicular vector

  1. void perpendicular(double x, double y, double z, Vector3d dest1, Vector3d dest2)
  2. void perpendicular(Vector3d v, Vector3d dest1, Vector3d dest2)
    public static
    void
    perpendicular

Meta