Type Definition nalgebra::geometry::Point5 [−][src]
type Point5<T> = Point<T, 5>;
A statically sized 5-dimensional column point.
Because this is an alias, not all its methods are listed here. See the Point
type too.
Implementations
impl<T> Point5<T>
[src]
pub const fn new(x: T, y: T, z: T, w: T, a: T) -> Self
[src]
Initializes this point from its components.
Example
let p = Point5::new(1.0, 2.0, 3.0, 4.0, 5.0); assert!(p.x == 1.0 && p.y == 2.0 && p.z == 3.0 && p.w == 4.0 && p.a == 5.0);