Matrix.axisAngle

Returns rotation matrix decided by its rotation axis and angle.

  1. Matrix axisAngle(Vector!(T, 3) axis, Angle angle)
  2. Matrix axisAngle(Vector!(T, 3) v, Angle angle)
    struct Matrix(T, uint U, uint V)
    static
    static if(U == V)
    static if(!(U == 3))
    static if(U == 4)
    axisAngle
    (
    const Vector!(T, 3) v
    ,
    const Angle angle
    )
    if (
    __traits(isArithmetic, T)
    )

Parameters

angle Angle

rotation angle

Return Value

Type: Matrix

rotation matrix

Meta