From 8288ebdfabdab002df9b47429fa176850b945f51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Tue, 14 Oct 2014 22:24:10 +0200 Subject: [PATCH] Add quaternions to the feature list. --- README.md | 23 +---------------------- src/lib.rs | 1 + 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 449e32d6..79fd4281 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ an optimized set of tools for computer graphics and physics. Those features incl * Points with static sizes: `Pnt0`, `Pnt1`, `Pnt2`, `Pnt3`, `Pnt4`, `Pnt5`, `Pnt6`. * Square matrices with static sizes: `Mat1`, `Mat2`, `Mat3`, `Mat4`, `Mat5`, `Mat6 `. * Rotation matrices: `Rot2`, `Rot3`, `Rot4`. +* Quaternions: `Quat`, `UnitQuat`. * Isometries: `Iso2`, `Iso3`, `Iso4`. * 3D projections for computer graphics: `Persp3`, `PerspMat3`, `Ortho3`, `OrthoMat3`. * Dynamically sized vector: `DVec`. @@ -67,25 +68,3 @@ fn main() { let _ = m * m; // matrix-matrix multiplication. let _ = v * 2.0f64; // vector-scalar multiplication. } -``` - -## Compilation -You will need the last nightly build of the [rust compiler](http://www.rust-lang.org) -and the official package manager: [cargo](https://github.com/rust-lang/cargo). - -Simply add the following to your `Cargo.toml` file: - -```.ignore -[dependencies.nalgebra] -git = "https://github.com/sebcrozet/nalgebra" -``` - - -## **nalgebra** in use -Here are some projects using **nalgebra**. -Feel free to add your project to this list if you happen to use **nalgebra**! - -* [nphysics](https://github.com/sebcrozet/nphysics): a real-time physics engine. -* [ncollide](https://github.com/sebcrozet/ncollide): a collision detection library. -* [kiss3d](https://github.com/sebcrozet/kiss3d): a minimalistic graphics engine. -* [nrays](https://github.com/sebcrozet/nrays): a ray tracer. diff --git a/src/lib.rs b/src/lib.rs index 5e0a8c45..e3ef023b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -45,6 +45,7 @@ an optimized set of tools for computer graphics and physics. Those features incl * Points with static sizes: `Pnt0`, `Pnt1`, `Pnt2`, `Pnt3`, `Pnt4`, `Pnt5`, `Pnt6`. * Square matrices with static sizes: `Mat1`, `Mat2`, `Mat3`, `Mat4`, `Mat5`, `Mat6 `. * Rotation matrices: `Rot2`, `Rot3`, `Rot4`. +* Quaternions: `Quat`, `UnitQuat`. * Isometries: `Iso2`, `Iso3`, `Iso4`. * 3D projections for computer graphics: `Persp3`, `PerspMat3`, `Ortho3`, `OrthoMat3`. * Dynamically sized vector: `DVec`.