Commit Graph

69 Commits

Author SHA1 Message Date
Sébastien Crozet edf17b5667 Update to the last Rust.
Also use free-functions on tests.
2013-10-08 01:22:56 +02:00
Sébastien Crozet 3f99bd62c6 Use `use` instead of `pub use` to import modules on the examples. 2013-10-06 19:36:59 +02:00
Sébastien Crozet ee2db8da99 Add the "nalgebra in use" part to the readme. 2013-10-06 19:32:31 +02:00
Sébastien Crozet d0267f5071 Fix the example given by the readme. 2013-10-06 19:28:52 +02:00
Sébastien Crozet 5e4285ae6f Fix typos on the readme. 2013-10-06 19:20:39 +02:00
Sébastien Crozet 84212f1449 Huge api change!
Everything changed, hopefully for the best.

* everything is accessible from the `na` module. It re-export
  everything and provides free functions (i-e: na::dot(a, b) instead of
  a.dot(b)) for most functionalities.
* matrix/vector adaptors (Rotmat, Transform) are replaced by plain
  types: Rot{2, 3, 4} for rotation matrices and Iso{2, 3, 4} for
  isometries (rotation + translation).  This old adaptors system was to
  hard to understand and to document.
* each file related to data structures moved to the `structs` folder.
  This makes the doc a lot more readable and make people prefer the
  `na` module instead of individual small modules.
* Because `na` exists now, the modules `structs::vec` and
  `structs::mat` dont re-export anything now.

As a side effect, this makes the documentation more readable.
2013-10-06 18:07:17 +02:00
Sébastien Crozet 0228d70add Add the frog to the project list. 2013-10-02 12:53:38 +02:00
Sébastien Crozet f17ed215a0 Fix formatting on the README. 2013-09-28 00:15:44 +02:00
Sébastien Crozet 828dc8451e Improve the readme. 2013-09-28 00:12:18 +02:00
Sébastien Crozet 6dc8139794 "Remove" the RMul and LMul trait. Use the regular Mul trait.
Those traits are not really removed since they are useful on generic code (to work around curret
limitations of rust traits system).
2013-09-15 11:18:06 +02:00
Sébastien Crozet 4f3de703b7 Add static methods to build canonical axis.
For exemple use: Vec3::x() to create the vector Vec3::new(1.0, 0.0, 0.0).
The same aplies for y, z, w, etc.
2013-07-24 23:54:54 +02:00
Sébastien Crozet 3ccade3d2f icomming -> master 2013-06-15 13:11:50 +00:00
Sébastien Crozet dab2434ca3 Use bold font on readme. 2013-06-13 14:10:37 +00:00
Sébastien Crozet 5c777ca32d Add compilation instructions. 2013-06-13 14:06:05 +00:00
Sébastien Crozet 8eeb790729 Removed disclaimer: there are some tests now! 2013-05-18 15:05:55 +00:00
Sébastien Crozet 30d82f2408 Add n-dimensional vector and matrix. 2013-05-15 00:18:13 +00:00
Sébastien Crozet d247af1138 Reduced title level of Licence. 2013-05-14 19:20:52 +00:00
Sébastien Crozet 2102bed428 Add licence info. 2013-05-14 21:19:58 +00:00
Sébastien Crozet 350465655d Add short description on readme. 2013-05-14 21:17:43 +00:00