Struct simulation::animal::AnimalState [] [src]

pub struct AnimalState {
    pub position: [f32; 3],
    pub velocity: [f32; 2],
}

The state of an animal at a particular point in time

Fields

The current position of the animal

The current velocity of the animal (meters/second)

Trait Implementations

impl Clone for AnimalState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for AnimalState
[src]