Struct steering::SteeringAcceleration[][src]

pub struct SteeringAcceleration<T: Real> {
    pub linear: Vector3<T>,
    pub angular: T,
}

Represents result of a steering behaviour computation. User can aggregate more than one behaviour result into single acceleration struct.

Fields

linear acceleration component

angular acceleration component

Methods

impl<T: Real> SteeringAcceleration<T>
[src]

Creates a steering acceleration struct using given linear and angular components

Tests whether both linear and angular acceleration compenents are zero

Sets both compononents to zero

Trait Implementations

impl<T: Debug + Real> Debug for SteeringAcceleration<T>
[src]

Formats the value using the given formatter. Read more

impl<T: PartialEq + Real> PartialEq for SteeringAcceleration<T>
[src]

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

This method tests for !=.

Auto Trait Implementations

impl<T> Send for SteeringAcceleration<T>

impl<T> Sync for SteeringAcceleration<T>