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

Methods

impl Point3
[src]

[src]

Instantiates a new Point3 with x, y and z.

[src]

Creates a new Vector3 relative to position (0, 0, 0)

Trait Implementations

impl PartialEq for Point3
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for Point3
[src]

[src]

Formats the value using the given formatter.

impl Add<Vector3> for Point3
[src]

The resulting type after applying the + operator.

[src]

Overloads + for Points and Vectors: P + PQ = Q