hide hints

This commit is contained in:
Quaternions 2024-02-21 05:13:31 -08:00
parent 4dc706b783
commit 0026b92a72

View File

@ -724,7 +724,7 @@ impl TouchingState{
//add accelerators
for contact in &self.contacts{
match models.attr(contact.convex_mesh_id.model_id){
PhysicsCollisionAttributes::Contact{contacting,general}=>{
PhysicsCollisionAttributes::Contact{contacting:_,general}=>{
match &general.accelerator{
Some(accelerator)=>a+=accelerator.acceleration,
None=>(),
@ -735,7 +735,7 @@ impl TouchingState{
}
for intersect in &self.intersects{
match models.attr(intersect.convex_mesh_id.model_id){
PhysicsCollisionAttributes::Intersect{intersecting,general}=>{
PhysicsCollisionAttributes::Intersect{intersecting:_,general}=>{
match &general.accelerator{
Some(accelerator)=>a+=accelerator.acceleration,
None=>(),
@ -1435,7 +1435,7 @@ fn run_teleport_behaviour(wormhole:&Option<gameplay_attributes::Wormhole>,models
match &walk_state.target{
//you are not supposed to reach a walk target which is already reached!
TransientAcceleration::Reached=>unreachable!(),
TransientAcceleration::Reachable{acceleration,time}=>{
TransientAcceleration::Reachable{acceleration:_,time:_}=>{
//velocity is already handled by advance_time
//we know that the acceleration is precisely zero because the walk target is known to be reachable
//which means that gravity can be fully cancelled