diff --git a/README.md b/README.md index 003897f3..64879f23 100644 --- a/README.md +++ b/README.md @@ -23,19 +23,20 @@ The preferred way to use **nalgebra** is to import types and traits explicitly, free-functions using the `na::` prefix: ```.rust -extern crate "nalgebra" as na; +extern crate nalgebra as na; use na::{Vec3, Rot3, Rotation}; fn main() { let a = Vec3::new(1.0f64, 1.0, 1.0); let mut b = Rot3::new(na::zero()); - b.append_rotation(&a); + b.append_rotation_mut(&a); assert!(na::approx_eq(&na::rotation(&b), &a)); } ``` + ## Features **nalgebra** is meant to be a general-purpose, low-dimensional, linear algebra library, with an optimized set of tools for computer graphics and physics. Those features include: diff --git a/src/lib.rs b/src/lib.rs index 5ed1613d..3f2d7975 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -54,17 +54,6 @@ an optimized set of tools for computer graphics and physics. Those features incl * Almost one trait per functionality: useful for generic programming. * Operator overloading using multidispatch. -## 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**.