Matrix.prj

project vector

equals:

auto r = m * vec4( v, fc );
return r.xyz / r.w;

only: W==4 && ( H==4 || H==3 ) && isFloatingPoint!E

struct Matrix(size_t H, size_t W, E)
Vector!(3, E)
prj
const
(
X
)
(
in Vector!(3, X) v
,
E fc
)

Meta