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
position: [f32; 3]
The current position of the animal
velocity: [f32; 2]
The current velocity of the animal (meters/second)
Trait Implementations
impl Clone for AnimalState[src]
fn clone(&self) -> AnimalState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more