Skip to content

Instantly share code, notes, and snippets.

@emidoots
Created July 10, 2015 03:36
Show Gist options
  • Save emidoots/fb481d952d1082bede24 to your computer and use it in GitHub Desktop.
Save emidoots/fb481d952d1082bede24 to your computer and use it in GitHub Desktop.
lib.rs issue
extern crate num;
// Must re-export num for the unit! macro.
#[doc(hidden)]pub use num as num_export;
mod vec2;
mod vec3;
mod vec4;
mod float;
mod clamp;
#[macro_use] pub mod unit;
mod si;
pub use num::{Zero, One, Num};
pub use self::vec2::{Vec2, Point2};
pub use self::vec3::{Vec3, Point3};
pub use self::vec4::{Vec4};
pub use self::float::*;
pub use self::clamp::*;
pub use self::si::*;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment