Fixed benchmarks

This commit is contained in:
Colin Sherratt 2015-02-08 13:42:28 -05:00
parent 662c7d7f68
commit 33bb8022cb
5 changed files with 12 additions and 13 deletions

View file

@ -13,12 +13,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#![feature(test)]
extern crate rand;
extern crate test;
extern crate cgmath;
use std::rand::{IsaacRng, Rng};
use rand::{IsaacRng, Rng};
use std::iter;
use test::Bencher;
use cgmath::{Quaternion, Basis2, Basis3, Vector3, Rotation2, Rotation3, Rad};

View file

@ -13,13 +13,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#![feature(test)]
extern crate rand;
extern crate test;
extern crate cgmath;
use std::rand::{IsaacRng, Rng};
use rand::{IsaacRng, Rng};
use test::Bencher;
use cgmath::*;

View file

@ -13,13 +13,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#![feature(test)]
extern crate rand;
extern crate test;
extern crate cgmath;
use std::rand::{IsaacRng, Rng};
use rand::{IsaacRng, Rng};
use test::Bencher;
use cgmath::*;

View file

@ -13,13 +13,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#![feature(test)]
extern crate rand;
extern crate test;
extern crate cgmath;
use std::rand::{IsaacRng, Rng};
use rand::{IsaacRng, Rng};
use test::Bencher;
use cgmath::*;

View file

@ -13,8 +13,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#![feature(core)]
extern crate cgmath;
use cgmath::{Vector4, ortho, Matrix, Matrix4, Vector};