Struct nphysics2d::resolution::Velocities [] [src]

pub struct Velocities<N: Real> {
    pub lv: Vector<N>,
    pub av: Orientation<N>,
}

Structure holding the result of the projected gauss seidel solver.

Fields

Linear velocity.

Angular velocity.

Methods

impl<N: Real> Velocities<N>
[src]

[src]

Creates a new Velocities.

[src]

Reset this structure to zero.

Trait Implementations

impl<N: PartialEq + Real> PartialEq for Velocities<N>
[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<N: Debug + Real> Debug for Velocities<N>
[src]

[src]

Formats the value using the given formatter.

impl<N: Clone + Real> Clone for Velocities<N>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more