rotation - multiple declarations

Function rotation

Build a rotation matrix. angle in radians.

Mat3x3!T rotation(T) (
  in T angle
)
if (isFloatingPoint!T);

Function rotation

auto rotation(T, V) (
  in T angle,
  in V axis
)
if (isVec!(3, V) && isFloatingPoint!T);

Function rotation

auto rotation(T) (
  in T angle,
  in T x,
  in T y,
  in T z
)
if (isFloatingPoint!T);