Beispiel #1
0
 // Constructor with initial values.
 public SurfaceEmitterType(Surface srf)
 {
   Interval interval = new Interval(0,1);
   srf.SetDomain(0, interval);
   srf.SetDomain(1, interval);
   this.srf = srf;
 }
Beispiel #2
0
 // Constructor with initial values.
 public SurfaceEmitterType(Surface srf, bool continuousFlow, int creationRate, int numAgents, Vector3d velocityMin, Vector3d velocityMax)
   :base(continuousFlow, creationRate, numAgents, velocityMin, velocityMax)
 {
   Interval interval = new Interval(0, 1);
   srf.SetDomain(0, interval);
   srf.SetDomain(1, interval);
   this.srf = srf;
 }