Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParticlePool ¶
type ParticlePool struct {
// contains filtered or unexported fields
}
func UseParticlesPool ¶
func UseParticlesPool(particlesNum int) *ParticlePool
func (*ParticlePool) Fill ¶
func (pm *ParticlePool) Fill(props Props)
func (*ParticlePool) ForEachParticle ¶
func (pm *ParticlePool) ForEachParticle(c func(*Particle))
func (*ParticlePool) Update ¶
func (pm *ParticlePool) Update(coef float64)
Click to show internal directories.
Click to hide internal directories.