Skip to content

Commit

Permalink
Add 2d and 3d vector types.
Browse files Browse the repository at this point in the history
  • Loading branch information
nical committed May 26, 2017
1 parent 94799b6 commit f33d6e2
Show file tree
Hide file tree
Showing 7 changed files with 1,115 additions and 525 deletions.
7 changes: 6 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,12 @@ pub use transform3d::{Transform3D, TypedTransform3D};
pub use point::{
Point2D, TypedPoint2D,
Point3D, TypedPoint3D,
Point4D, TypedPoint4D,
};
pub use vector::{
Vector2D, TypedVector2D,
Vector3D, TypedVector3D,
};

pub use rect::{Rect, TypedRect};
pub use side_offsets::{SideOffsets2D, TypedSideOffsets2D};
#[cfg(feature = "unstable")] pub use side_offsets::SideOffsets2DSimdI32;
Expand All @@ -94,6 +98,7 @@ pub mod scale_factor;
pub mod side_offsets;
pub mod size;
pub mod trig;
pub mod vector;

/// The default unit.
#[derive(Clone, Copy)]
Expand Down
Loading

0 comments on commit f33d6e2

Please sign in to comment.