Matrix.IDENTITY

Identity R4 matrix

  1. enum Matrix!(T, 2) IDENTITY;
  2. enum Matrix!(T, 3) IDENTITY;
  3. enum Matrix!(T, 4) IDENTITY;
    struct Matrix(T, size_t dim_)
    nothrow public static
    static if(!(dim == 2))
    static if(!(dim == 3))
    static if(dim == 4)
    enum Matrix!(T, 4) IDENTITY;

Meta