| 572 | } |
| 573 | |
| 574 | void NPCBlinker::Update(F32 dt, F32 ratio, F32 tym_slow, F32 tym_fast) |
| 575 | { |
| 576 | if (tmr_uvcell < 0.0f) |
| 577 | { |
| 578 | idx_uvcell++; |
| 579 | if (3 < idx_uvcell) |
| 580 | { |
| 581 | idx_uvcell = 0; |
| 582 | } |
| 583 | tmr_uvcell = LERP(SQ(ratio), tym_slow, tym_fast); |
| 584 | } |
| 585 | tmr_uvcell = MAX(-1.0f, tmr_uvcell - dt); |
| 586 | } |
| 587 | |
| 588 | void NPCBlinker::IndexToUVCoord(S32 param_1, F32* param_2, F32* param_3) |
| 589 | { |
no test coverage detected