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

Method update

src/SB/Game/zEntCruiseBubble.cpp:1392–1403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1390 }
1391
1392 void uv_animated_model::update(F32 dt)
1393 {
1394 if (0.0f == this->offset_vel.x && 0.0f == this->offset_vel.y)
1395 {
1396 return;
1397 }
1398
1399 this->offset += this->offset_vel * dt;
1400 this->offset.x = xfmod(this->offset.x, 1.0f);
1401 this->offset.y = xfmod(this->offset.y, 1.0f);
1402 this->refresh();
1403 }
1404
1405 void render_hud()
1406 {

Callers 2

update_stateFunction · 0.45
update_hudFunction · 0.45

Calls 15

face_cameraMethod · 0.95
apply_yawMethod · 0.95
update_animationMethod · 0.95
update_wandMethod · 0.95
update_effectsMethod · 0.95
update_moveMethod · 0.95
collideMethod · 0.95
collide_hazardsMethod · 0.95
update_engine_soundMethod · 0.95
update_flashMethod · 0.95
apply_turnMethod · 0.95
refresh_missle_alphaMethod · 0.95

Tested by

no test coverage detected