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