Better Print
This commit is contained in:
parent
f07d9f968e
commit
cda4d82236
@ -45,6 +45,7 @@ pub struct Body{
|
|||||||
pub acceleration:Planar64Vec3,//I64 where 2^32 = 1 u/s/s
|
pub acceleration:Planar64Vec3,//I64 where 2^32 = 1 u/s/s
|
||||||
pub time:Time,//nanoseconds x xxxxD!
|
pub time:Time,//nanoseconds x xxxxD!
|
||||||
}
|
}
|
||||||
|
|
||||||
impl std::ops::Neg for Body{
|
impl std::ops::Neg for Body{
|
||||||
type Output=Self;
|
type Output=Self;
|
||||||
fn neg(self)->Self::Output{
|
fn neg(self)->Self::Output{
|
||||||
@ -1177,7 +1178,7 @@ impl PhysicsState {
|
|||||||
ordered_checkpoint_from_checkpoint_id:eshmep2,
|
ordered_checkpoint_from_checkpoint_id:eshmep2,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
println!("Physics Objects: {}",self.models.models.len());
|
// println!("Physics Objects: {}",self.models.models.len());
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn load_user_settings(&mut self,user_settings:&crate::settings::UserSettings){
|
pub fn load_user_settings(&mut self,user_settings:&crate::settings::UserSettings){
|
||||||
@ -1360,7 +1361,7 @@ fn set_velocity_cull(body:&mut Body,touching:&mut TouchingState,models:&PhysicsM
|
|||||||
let r=n.dot(v)<=Planar64::ZERO;
|
let r=n.dot(v)<=Planar64::ZERO;
|
||||||
if !r{
|
if !r{
|
||||||
culled=true;
|
culled=true;
|
||||||
println!("set_velocity_cull contact={:?}",contact);
|
// println!("set_velocity_cull contact={:?}",contact);
|
||||||
}
|
}
|
||||||
r
|
r
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user