Fix collision of omath::vec and core::vec

This commit is contained in:
Brendan Zabarauskas 2012-10-29 21:53:25 +10:00
parent 9c3dbc2658
commit 5d8319fff0
8 changed files with 19 additions and 19 deletions

View file

@ -1,8 +1,8 @@
use std::cmp::FuzzyEq; use std::cmp::FuzzyEq;
use cmp::Eq; use cmp::Eq;
use math::Sqrt; use math::Sqrt;
use quat::Quat; use quaternion::Quat;
use vec::*; use vector::*;
// //
// NxN Matrix // NxN Matrix

View file

@ -7,17 +7,17 @@
extern mod std; extern mod std;
pub mod mat; pub mod matrix;
pub mod math; pub mod math;
pub mod projection; pub mod projection;
pub mod quat; pub mod quaternion;
pub mod vec; pub mod vector;
#[test] #[test]
pub mod test { pub mod test {
pub mod test_mat; pub mod test_matrix;
pub mod test_math; pub mod test_math;
pub mod test_projection; pub mod test_projection;
pub mod test_quat; pub mod test_quaternion;
pub mod test_vec; pub mod test_vector;
} }

View file

@ -1,6 +1,6 @@
use float::consts::pi; use float::consts::pi;
use float::tan; use float::tan;
use mat::Mat4; use matrix::Mat4;
// //
// Create a perspective projection matrix // Create a perspective projection matrix

View file

@ -1,11 +1,11 @@
use cast::transmute; use cast::transmute;
use core::vec::raw::buf_as_slice; // for some reason we need to specify the core module here use vec::raw::buf_as_slice;
use ptr::to_unsafe_ptr; use ptr::to_unsafe_ptr;
use cmp::Eq; use cmp::Eq;
use std::cmp::FuzzyEq; use std::cmp::FuzzyEq;
use math::*; use math::*;
use mat::{Mat3, Mat4}; use matrix::{Mat3, Mat4};
use vec::Vec3; use vector::Vec3;
// //
// Quaternion // Quaternion

View file

@ -1,5 +1,5 @@
use mat::*; use matrix::*;
use vec::*; use vector::*;
// TODO // TODO

View file

@ -1,6 +1,6 @@
use mat::*; use matrix::*;
use quat::*; use quaternion::*;
use vec::*; use vector::*;
// TODO // TODO

View file

@ -1,5 +1,5 @@
use std::cmp::FuzzyEq; use std::cmp::FuzzyEq;
use vec::*; use vector::*;
// TODO // TODO

View file

@ -1,5 +1,5 @@
use cast::transmute; use cast::transmute;
use core::vec::raw::buf_as_slice; // for some reason we need to specify the core module here use vec::raw::buf_as_slice;
use ptr::to_unsafe_ptr; use ptr::to_unsafe_ptr;
use cmp::Eq; use cmp::Eq;
use std::cmp::FuzzyEq; use std::cmp::FuzzyEq;