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