| 1921 | } |
| 1922 | |
| 1923 | void NPCHazard::VisSplashSparklies() |
| 1924 | { |
| 1925 | F32 rad = this->custdata.collide.rad_cur; |
| 1926 | for (S32 i = 0; i < 8; i++) |
| 1927 | { |
| 1928 | xVec3 pos_emit; |
| 1929 | pos_emit = *(xVec3*)At() * (2.0f * (xurand() - 0.5f)); |
| 1930 | pos_emit += *(xVec3*)Right() * (2.0f * (xurand() - 0.5f)); |
| 1931 | pos_emit.normalize(); |
| 1932 | pos_emit *= rad; |
| 1933 | pos_emit += *(xVec3*)Up() * 0.2f; |
| 1934 | pos_emit += this->pos_hazard; |
| 1935 | |
| 1936 | xVec3 vel_emit; |
| 1937 | vel_emit = *(xVec3*)Up(); |
| 1938 | vel_emit *= 3.5f; |
| 1939 | |
| 1940 | NPAR_EmitVSSpray(&pos_emit, &vel_emit); |
| 1941 | } |
| 1942 | } |
| 1943 | |
| 1944 | void UVAModelInfo::Hemorrage() |
| 1945 | { |
nothing calls this directly
no test coverage detected