ortho

Returns a vector which is orthognal to the given vector.

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

Parameters

v Vector!(T, 2)

target vector

Return Value

Type: Vector!(T, 2)

orthognal vector

Meta