예제 #1
0
 /// <summary>
 /// Gets the current AABB of the <see cref="ParticleSystem"/>
 /// </summary>
 // ReSharper disable once InconsistentNaming
 public BoundingBox GetAABB()
 {
     return(BoundingShape?.GetAABB(Translation, Rotation, UniformScale) ?? new BoundingBox(new Vector3(-1), new Vector3(1)));
 }
예제 #2
0
 /// <summary>
 /// Gets the current AABB of the <see cref="ParticleSystem"/>
 /// </summary>
 // ReSharper disable once InconsistentNaming
 public BoundingBox GetAABB()
 {
     return(BoundingShape?.GetAABB(Translation, Rotation, UniformScale) ?? new BoundingBox(Translation, Translation));
 }