Fixed the library to use the new Rust 2018 module system.
This commit is contained in:
@ -6,12 +6,13 @@
|
||||
use std::fmt::{Error, Formatter, Debug, Display};
|
||||
use std::ops::{Add, Sub, Mul, Div, Neg};
|
||||
|
||||
use ::zero::Zero;
|
||||
use ::one::One;
|
||||
use ::real::Real;
|
||||
use ::trig::Radian;
|
||||
use ::trig::Trig;
|
||||
use ::vector::{Vector, EuclideanVector, Vector3};
|
||||
use crate::zero::Zero;
|
||||
use crate::one::One;
|
||||
use crate::real::Real;
|
||||
use crate::trig::Radian;
|
||||
use crate::trig::Trig;
|
||||
use crate::vector::{Vector, EuclideanVector, Vector3};
|
||||
|
||||
|
||||
|
||||
/// A Quaternion is a combination of a scalar and a vector
|
||||
|
||||
Reference in New Issue
Block a user