using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Slipstream.Testbed { public class Particle { Slipstream.TracerParticle SimParticle; Blacklight.Core.Entity GraphicsEntity; public Particle(Slipstream.TracerParticle particle) { SimParticle = particle; GraphicsEntity = new Blacklight.Core.Entity { drawable = new Blacklight.Core.Drawables.Ellipse { InsideColor = new Blacklight.Core.Color(0, 0.84, 0.84, 1), ShellColor = new Blacklight.Core.Color(0, 0.25, 0.25, 1), ShellPixelThickness = 0, ShellModelSpaceThickness = 0.25, SmoothBorder = false, }, modelToWorld = new Azimuth.AffineMatrix(0, particle.Position, 1), }; } } }