----------------------------
| 140 | |
| 141 | //---------------------------- |
| 142 | void CParticle::Draw() |
| 143 | { |
| 144 | if ( mFlags & FX_DEPTH_HACK ) |
| 145 | { |
| 146 | // Not sure if first person needs to be set, but it can't hurt? |
| 147 | mRefEnt.renderfx |= RF_DEPTHHACK; |
| 148 | } |
| 149 | |
| 150 | // Add our refEntity to the scene |
| 151 | VectorCopy( mOrigin1, mRefEnt.origin ); |
| 152 | theFxHelper.AddFxToScene( &mRefEnt ); |
| 153 | |
| 154 | drawnFx++; |
| 155 | mParticles++; |
| 156 | } |
| 157 | |
| 158 | //---------------------------- |
| 159 | // Update |
nothing calls this directly
no test coverage detected