Struct mathf::vector3::Point3
[−]
[src]
pub struct Point3 { pub x: f32, pub y: f32, pub z: f32, }
A 3D Point with x, y and z coordinates: Point3
Fields
x: f32
y: f32
z: f32
Methods
impl Point3
[src]
fn new(x: f32, y: f32, z: f32) -> Point3
[src]
Instantiates a new Point3 with x, y and z.
fn to_vec(self) -> Vector3
[src]
Creates a new Vector3 relative to position (0, 0, 0)
Trait Implementations
impl PartialEq for Point3
[src]
fn eq(&self, __arg_0: &Point3) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Point3) -> bool
[src]
This method tests for !=
.