MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / update_moving_out

Method update_moving_out

src/SB/Game/zEntPlayerOOBState.cpp:473–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471 }
472
473 drop_state_type::substate_enum drop_state_type::update_moving_out(xScene& scn, F32& dt)
474 {
475 move_hand(dt);
476
477 F32 projection = (shared.loc - fixed.out_loc).dot(shared.dir);
478 if (projection >= 0.0f)
479 {
480 return SS_MOVING_OUT;
481 }
482
483 dt = 0.0f;
484 return SS_INVALID;
485 }
486
487 drop_state_type::substate_enum drop_state_type::supdate_starting(drop_state_type& gst,
488 xScene& scn, F32& dt)

Callers 1

supdate_moving_outMethod · 0.80

Calls 2

move_handFunction · 0.70
dotMethod · 0.45

Tested by

no test coverage detected