Function rhusics::collide3d::world_register_with_spatial [] [src]

pub fn world_register_with_spatial<T>(world: &mut World) where
    T: Transform<Point3<f32>> + Component + Clone + Debug + Send + Sync + 'static, 

Utility method for registering 3D components and resources with specs::World.

Will include components and resources needed for spatial sorting/collision detection. Will call world_register.

Parameters

  • world: The world to register components/resources in.

Type parameters