forked from StrafesNET/strafe-project
notes
This commit is contained in:
parent
63fbc94287
commit
78ef6fecad
@ -787,6 +787,7 @@ impl MinkowskiMesh<'_>{
|
||||
impl MeshQuery<MinkowskiFace,MinkowskiDirectedEdge,MinkowskiVert> for MinkowskiMesh<'_>{
|
||||
type Normal=Vector3<Fixed<3,96>>;
|
||||
type Offset=Fixed<4,128>;
|
||||
// TODO: relative d
|
||||
fn face_nd(&self,face_id:MinkowskiFace)->(Self::Normal,Self::Offset){
|
||||
match face_id{
|
||||
MinkowskiFace::VertFace(v0,f1)=>{
|
||||
|
@ -1092,7 +1092,7 @@ impl instruction::InstructionConsumer<PhysicsInstruction> for PhysicsContext{
|
||||
}
|
||||
}
|
||||
impl instruction::InstructionEmitter<PhysicsInternalInstruction> for PhysicsContext{
|
||||
//this little next instruction function can cache its return value and invalidate the cached value by watching the State.
|
||||
//this little next instruction function could cache its return value and invalidate the cached value by watching the State.
|
||||
fn next_instruction(&self,time_limit:Time)->Option<TimedInstruction<PhysicsInternalInstruction>>{
|
||||
next_instruction_internal(&self.state,&self.data,time_limit)
|
||||
}
|
||||
@ -1498,7 +1498,6 @@ fn checkpoint_check(
|
||||
//check if current stage is complete
|
||||
if let Some(current_stage)=mode.get_stage(mode_state.get_stage_id()){
|
||||
if !current_stage.is_complete(mode_state.ordered_checkpoint_count(),mode_state.unordered_checkpoint_count()){
|
||||
//do the stage checkpoints have to be reset?
|
||||
return CheckpointCheckOutcome{
|
||||
set_stage:None,
|
||||
teleport_to_model:Some(current_stage.spawn()),
|
||||
|
Loading…
x
Reference in New Issue
Block a user