Struct rl_ball_sym::simulation::ball::Ball [−][src]
pub struct Ball {
pub time: f32,
pub location: Vec3A,
pub velocity: Vec3A,
pub angular_velocity: Vec3A,
pub radius: f32,
pub collision_radius: f32,
pub moi: f32,
}
Fields
time: f32
location: Vec3A
velocity: Vec3A
angular_velocity: Vec3A
radius: f32
collision_radius: f32
moi: f32
Implementations
pub fn get_ball_prediction_struct_for_slices(
game: &mut Game,
num_slices: usize
) -> BallPrediction
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Ball
impl UnwindSafe for Ball
Blanket Implementations
Mutably borrows from an owned value. Read more