示例#1
0
文件: CSGDiff.cs 项目: Tilps/Stash
 public CSGDiff(Primative inA, Primative inB)
 {
     Render = (inA.Render || inB.Render);
     Shadow = (inA.Shadow || inB.Shadow);
     primA = inA;
     primB = inB;
     Bounds = new AllignedBox(primA.Bounds);
 }
示例#2
0
文件: CSGUnion.cs 项目: Tilps/Stash
 public CSGUnion(Primative inA, Primative inB, bool disjoint)
 {
     Render = (inA.Render || inB.Render);
     Shadow = (inA.Shadow || inB.Shadow);
     primA = inA;
     primB = inB;
     Bounds = primA.Bounds.UnionWith(primB.Bounds);
     this.disjoint = disjoint;
 }
示例#3
0
文件: CSGUnion.cs 项目: Tilps/Stash
 public CSGUnion(Primative inA, Primative inB)
     : this(inA, inB, false)
 {
 }