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

Method update_move

src/SB/Game/zEntCruiseBubble.cpp:3157–3167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3155 }
3156
3157 void cruise_bubble::state_missle_fly::update_move(F32 dt)
3158 {
3159 F32 accel = current_tweak->missle.fly.accel;
3160 F32 max = current_tweak->missle.fly.max_vel;
3161 F32 move = 0.0f;
3162
3163 xAccelMove(move, this->vel, accel, dt, max);
3164
3165 xMat4x3* mat = get_missle_mat();
3166 mat->pos += mat->at * move;
3167 }
3168
3169 void cruise_bubble::state_missle_explode::start()
3170 {

Callers 2

updateMethod · 0.95
ProcessMethod · 0.80

Calls 2

get_missle_matFunction · 0.85
xAccelMoveFunction · 0.50

Tested by

no test coverage detected