Esempio n. 1
0
 public void ProcessRemoved(BoundingSphereComponent bounds)
 => this.Partition.Remove(bounds.Entity);
Esempio n. 2
0
 public void ProcessNew(BoundingSphereComponent bounds, TransformComponent transform, ParticleEmitterComponent _)
 => this.Partition.Add(transform.Entity, bounds.Radius, transform.Transform, this.ParticleService);
Esempio n. 3
0
 public void ProcessChanged(BoundingSphereComponent bounds, TransformComponent transform)
 => this.Partition.Update(transform.Entity, bounds.Radius, transform.Transform);
Esempio n. 4
0
 public void ProcessNew(BoundingSphereComponent bounds, TransformComponent transform, GeometryComponent geometry)
 => this.Partition.Add(transform.Entity, bounds.Radius, transform.Transform, this.GeometryService);