Exemplo n.º 1
0
        public ParticleSystem()
        {
            hasDeadParticles = false;
            integrator = new VerletIntegrator(this);

            particles = new List<Particle>();
            springs = new List<ParticleSpring>();

            gravity = new XYZ(0, 0, DEFAULT_GRAVITY);
            drag = DEFAULT_DRAG;
        }
Exemplo n.º 2
0
        public ParticleSystem()
        {
            hasDeadParticles = false;
            integrator       = new VerletIntegrator(this);

            particles = new List <Particle>();
            springs   = new List <ParticleSpring>();

            gravity = new XYZ(0, 0, DEFAULT_GRAVITY);
            drag    = DEFAULT_DRAG;
        }