Fixed the library to use the new Rust 2018 module system.

This commit is contained in:
2019-01-20 00:59:58 -05:00
parent 46f1bcafca
commit 097d9df847
10 changed files with 45 additions and 39 deletions

View File

@ -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