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