ortho

Returns a vector which is orthognal to the given vector.

  1. Vector!(T, 2) ortho(Vector!(T, 2) v)
  2. Vector!(T, 3) ortho(Vector!(T, 3) v)
    Vector!(T, 3)
    ortho
    (
    T
    )
    (
    const Vector!(T, 3) v
    )
    if (
    __traits(isFloating, T)
    )

Parameters

v Vector!(T, 3)

target vector

Return Value

Type: Vector!(T, 3)

orthognal vector

Meta