nalgebra/src/structs
Sébastien Crozet 924d8269d8 Add points.
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
2014-10-10 11:45:20 +02:00
..
spec Add points. 2014-10-10 11:45:20 +02:00
chol.rs Huge api change! 2013-10-06 18:07:17 +02:00
crout.rs Doc: fix some typos. 2014-01-19 15:49:32 +01:00
dmat.rs Update to the last rust. 2014-09-27 09:54:03 +02:00
dvec_macros.rs Add points. 2014-10-10 11:45:20 +02:00
dvec.rs Update to the last rust. 2014-09-27 09:54:03 +02:00
iso_macros.rs Add points. 2014-10-10 11:45:20 +02:00
iso.rs Add points. 2014-10-10 11:45:20 +02:00
lower_triangular.rs Change std::rand to rand in lower_triangular.rs 2014-03-13 19:35:01 -04:00
mat_macros.rs Add points. 2014-10-10 11:45:20 +02:00
mat.rs Add points. 2014-10-10 11:45:20 +02:00
metal.rs Give access to the traits required for generalized operator overloading. 2014-05-08 23:21:36 +02:00
mod.rs Add points. 2014-10-10 11:45:20 +02:00
pnt_macros.rs Add points. 2014-10-10 11:45:20 +02:00
pnt.rs Add points. 2014-10-10 11:45:20 +02:00
quat.rs Start implementation of quaternions. 2013-11-25 15:31:46 +01:00
rot_macros.rs Add points. 2014-10-10 11:45:20 +02:00
rot.rs Add points. 2014-10-10 11:45:20 +02:00
vec_macros.rs Add points. 2014-10-10 11:45:20 +02:00
vec.rs Add points. 2014-10-10 11:45:20 +02:00