| 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 | { |
no test coverage detected