Struct ami::Vec4 [] [src]

pub struct Vec4 {
    pub x: f32,
    pub y: f32,
    pub z: f32,
    pub w: f32,
}

4-dimensional vector

Fields

X coordinate

Y coordinate

Z coordinate

W coordinate

Methods

impl Vec4
[src]

[src]

Create a new Vec4

Trait Implementations

impl Mul<Vec4> for Mat4
[src]

The resulting type after applying the * operator.

[src]

Transform as a position.

impl Clone for Vec4
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Vec4
[src]

impl PartialEq for Vec4
[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 Vec4
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Vec4

impl Sync for Vec4