Convert dynent to a class
FossilOrigin-Name: d2b3ff790fee10ef4150cdb17f1c979e7001a420b2629b153b4dbf4c0b489704
This commit is contained in:
parent
410e244ed6
commit
90fc249052
26 changed files with 1447 additions and 1061 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
#include "cube.h"
|
||||
|
||||
#import "DynamicEntity.h"
|
||||
|
||||
const int MAXPARTICLES = 10500;
|
||||
const int NUMPARTCUTOFF = 20;
|
||||
struct particle {
|
||||
|
@ -56,7 +58,7 @@ render_particles(int time)
|
|||
{
|
||||
if (demoplayback && demotracking) {
|
||||
OFVector3D nom = OFMakeVector3D(0, 0, 0);
|
||||
newparticle(player1->o, nom, 100000000, 8);
|
||||
newparticle(player1.o, nom, 100000000, 8);
|
||||
}
|
||||
|
||||
glDepthMask(GL_FALSE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue