| 1846 | } |
| 1847 | |
| 1848 | void NPCHazard::StreakUpdate(U32 streakID, F32 rad) |
| 1849 | { |
| 1850 | xVec3 pos_left; |
| 1851 | pos_left = *(xVec3*)At() * 0.5f * rad; |
| 1852 | |
| 1853 | xVec3 pos_right; |
| 1854 | pos_right = *(xVec3*)Up() * rad; |
| 1855 | pos_right += pos_left; |
| 1856 | |
| 1857 | // TODO: These names aren't from DWARF - maybe they could be better after impl |
| 1858 | xVec3 shifted_pos_left; |
| 1859 | shifted_pos_left = *(xVec3*)&this->mdl_hazard->Mat->pos - pos_right; |
| 1860 | |
| 1861 | xVec3 shifted_pos_right; |
| 1862 | shifted_pos_right = *(xVec3*)&this->mdl_hazard->Mat->pos + pos_right; |
| 1863 | |
| 1864 | xFXStreakUpdate(streakID, &shifted_pos_left, &shifted_pos_right); |
| 1865 | } |
| 1866 | |
| 1867 | void NPCHazard::Upd_RoboBits(F32 dt) |
| 1868 | { |
nothing calls this directly
no test coverage detected