[][src]Trait rapier_testbed3d::TestbedPlugin

pub trait TestbedPlugin {
    fn init_graphics(
        &mut self,
        window: &mut Window,
        gen_color: &mut dyn FnMut() -> Point3<f32>
    );
fn clear_graphics(&mut self, window: &mut Window);
fn run_callbacks(
        &mut self,
        window: &mut Window,
        physics: &mut PhysicsState,
        run_state: &RunState
    );
fn step(&mut self, physics: &mut PhysicsState);
fn draw(&mut self);
fn profiling_string(&self) -> String; }

Required methods

fn init_graphics(
    &mut self,
    window: &mut Window,
    gen_color: &mut dyn FnMut() -> Point3<f32>
)
[src]

fn clear_graphics(&mut self, window: &mut Window)[src]

fn run_callbacks(
    &mut self,
    window: &mut Window,
    physics: &mut PhysicsState,
    run_state: &RunState
)
[src]

fn step(&mut self, physics: &mut PhysicsState)[src]

fn draw(&mut self)[src]

fn profiling_string(&self) -> String[src]

Loading content...

Implementors

Loading content...