library: define point and vector type aliases
This commit is contained in:
parent
ea9120fab3
commit
fe6a58f00e
1 changed files with 5 additions and 0 deletions
|
|
@ -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>;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue