forked from M-Labs/nalgebra
924d8269d8
This adds the Pnt{1,2,3,4,5,6} structures. This adds the traits: − AnyPnt − FloatPnt − PntExt − FloatPntExt − Orig (to return the zero point) − PntAsVec − VecAsPnt This adds operator overloading: − Pnt + Vec − Pnt - Vec − Pnt * Scalar − Pnt / Scalar − Pnt + Scalar − Pnt - Scalar − Iso * Pnt − Rot * Pnt − Pnt * Iso − Pnt * Rot This changes some behavior: − Iso multiplication with a Vec does not translate the vector any more. − ToHomogeneous adds a 0.0 at the end of a Vec and a 1.0 at the end of a Pnt. − FromHomogeneous performs w-normalization on a Pnt, but not on a Vec. − The Translate<Vec> trait is never implemented (i-e. a Vec is not to be translated). cc #25 |
||
---|---|---|
.. | ||
spec | ||
chol.rs | ||
crout.rs | ||
dmat.rs | ||
dvec_macros.rs | ||
dvec.rs | ||
iso_macros.rs | ||
iso.rs | ||
lower_triangular.rs | ||
mat_macros.rs | ||
mat.rs | ||
metal.rs | ||
mod.rs | ||
pnt_macros.rs | ||
pnt.rs | ||
quat.rs | ||
rot_macros.rs | ||
rot.rs | ||
vec_macros.rs | ||
vec.rs |