コード例 #1
0
ファイル: SurfaceEmitterType.cs プロジェクト: lxfschr/Quelea
 // 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;
 }
コード例 #2
0
ファイル: SurfaceEmitterType.cs プロジェクト: lxfschr/Quelea
 // 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;
 }