commit
f2ec77e83c
|
@ -1,4 +1,4 @@
|
||||||
use std::rand::random;
|
use rand::random;
|
||||||
use test::BenchHarness;
|
use test::BenchHarness;
|
||||||
use na::{Vec2, Vec3, Vec4, Vec5, Vec6, DVec, Mat2, Mat3, Mat4, Mat5, Mat6, DMat};
|
use na::{Vec2, Vec3, Vec4, Vec5, Vec6, DVec, Mat2, Mat3, Mat4, Mat5, Mat6, DMat};
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use std::rand::random;
|
use rand::random;
|
||||||
use test::BenchHarness;
|
use test::BenchHarness;
|
||||||
use na::{Vec2, Vec3, Vec4, Vec5, Vec6};
|
use na::{Vec2, Vec3, Vec4, Vec5, Vec6};
|
||||||
use na;
|
use na;
|
||||||
|
|
|
@ -111,6 +111,7 @@ Feel free to add your project to this list if you happen to use **nalgebra**!
|
||||||
|
|
||||||
extern crate std;
|
extern crate std;
|
||||||
extern crate extra;
|
extern crate extra;
|
||||||
|
extern crate rand;
|
||||||
extern crate serialize;
|
extern crate serialize;
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
#[allow(missing_doc)]; // we hide doc to not have to document the $trhs double dispatch trait.
|
#[allow(missing_doc)]; // we hide doc to not have to document the $trhs double dispatch trait.
|
||||||
|
|
||||||
use std::rand::Rand;
|
use rand::Rand;
|
||||||
use std::rand;
|
use rand;
|
||||||
use std::num::{One, Zero};
|
use std::num::{One, Zero};
|
||||||
use std::vec;
|
use std::vec;
|
||||||
use traits::operations::ApproxEq;
|
use traits::operations::ApproxEq;
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
#[allow(missing_doc)]; // we hide doc to not have to document the $trhs double dispatch trait.
|
#[allow(missing_doc)]; // we hide doc to not have to document the $trhs double dispatch trait.
|
||||||
|
|
||||||
use std::num::{Zero, One, Float};
|
use std::num::{Zero, One, Float};
|
||||||
use std::rand::Rand;
|
use rand::Rand;
|
||||||
use std::rand;
|
use rand;
|
||||||
use std::vec;
|
use std::vec;
|
||||||
use std::vec::{Items, MutItems};
|
use std::vec::{Items, MutItems};
|
||||||
use traits::operations::ApproxEq;
|
use traits::operations::ApproxEq;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#[allow(missing_doc)];
|
#[allow(missing_doc)];
|
||||||
|
|
||||||
use std::num::{Zero, One};
|
use std::num::{Zero, One};
|
||||||
use std::rand::{Rand, Rng};
|
use rand::{Rand, Rng};
|
||||||
use structs::mat::{Mat3, Mat4, Mat5};
|
use structs::mat::{Mat3, Mat4, Mat5};
|
||||||
use traits::structure::{Cast, Dim, Col};
|
use traits::structure::{Cast, Dim, Col};
|
||||||
use traits::operations::{Inv, ApproxEq};
|
use traits::operations::{Inv, ApproxEq};
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
use std::rand::Rand;
|
use rand::Rand;
|
||||||
use std::rand;
|
use rand;
|
||||||
use std::num::{One, Zero};
|
use std::num::{One, Zero};
|
||||||
use std::vec;
|
use std::vec;
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#[allow(missing_doc)];
|
#[allow(missing_doc)];
|
||||||
|
|
||||||
use std::num::{Zero, One};
|
use std::num::{Zero, One};
|
||||||
use std::rand::{Rand, Rng};
|
use rand::{Rand, Rng};
|
||||||
use traits::geometry::{Rotate, Rotation, AbsoluteRotate, RotationMatrix, Transform, ToHomogeneous,
|
use traits::geometry::{Rotate, Rotation, AbsoluteRotate, RotationMatrix, Transform, ToHomogeneous,
|
||||||
Norm, Cross};
|
Norm, Cross};
|
||||||
use traits::structure::{Cast, Dim, Row, Col};
|
use traits::structure::{Cast, Dim, Row, Col};
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
use std::num::{Float, abs};
|
use std::num::{Float, abs};
|
||||||
use std::rand::random;
|
use rand::random;
|
||||||
use na::{Vec1, Vec3, Mat1, Mat2, Mat3, Mat4, Mat5, Mat6, Rot3, DMat, DVec, Indexable};
|
use na::{Vec1, Vec3, Mat1, Mat2, Mat3, Mat4, Mat5, Mat6, Rot3, DMat, DVec, Indexable};
|
||||||
use na;
|
use na;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use std::rand::{random};
|
use rand::random;
|
||||||
use na::{Vec0, Vec1, Vec2, Vec3, Vec4, Vec5, Vec6};
|
use na::{Vec0, Vec1, Vec2, Vec3, Vec4, Vec5, Vec6};
|
||||||
use na::{Mat3, Iterable, IterableMut}; // FIXME: get rid of that
|
use na::{Mat3, Iterable, IterableMut}; // FIXME: get rid of that
|
||||||
use na;
|
use na;
|
||||||
|
|
Loading…
Reference in New Issue