library: define point and vector type aliases

This commit is contained in:
Bruno BELANYI 2020-03-16 15:15:01 +01:00
parent ea9120fab3
commit fe6a58f00e

View file

@ -0,0 +1,5 @@
use bvh::nalgebra::{Point2, Point3, Vector3};
pub type Point2D = Point2<f64>;
pub type Point = Point3<f64>;
pub type Vector = Vector3<f64>;