b2RayCastCallback_methods

Trait b2RayCastCallback_methods 

Source
pub trait b2RayCastCallback_methods: b2RayCastCallback_supers {
    // Required method
    unsafe fn ReportFixture(
        &mut self,
        fixture: *mut b2Fixture,
        point: &b2Vec2,
        normal: &b2Vec2,
        fraction: f32,
    ) -> f32;

    // Provided methods
    unsafe fn ReportParticle(
        &mut self,
        particleSystem: *const b2ParticleSystem,
        index: c_int,
        point: &b2Vec2,
        normal: &b2Vec2,
        fraction: f32,
    ) -> f32 { ... }
    unsafe fn ShouldQueryParticleSystem(
        &mut self,
        particleSystem: *const b2ParticleSystem,
    ) -> bool { ... }
}

Required Methods§

Source

unsafe fn ReportFixture( &mut self, fixture: *mut b2Fixture, point: &b2Vec2, normal: &b2Vec2, fraction: f32, ) -> f32

Provided Methods§

Source

unsafe fn ReportParticle( &mut self, particleSystem: *const b2ParticleSystem, index: c_int, point: &b2Vec2, normal: &b2Vec2, fraction: f32, ) -> f32

Source

unsafe fn ShouldQueryParticleSystem( &mut self, particleSystem: *const b2ParticleSystem, ) -> bool

Implementors§