Esempio n. 1
0
 public CSGNode(IEnumerable<Plane> planes)
 {
     this.NodeType = CSGNodeType.Brush;
     Generator = new StaticBrushGenerator(planes.ToArray());
     this.Translation = new Vector3(0, 0, 0);
     this.LocalTranslation = new Vector3(0, 0, 0);
 }
Esempio n. 2
0
 public CSGNode(BrushGenerator generator)
 {
     this.NodeType = CSGNodeType.Brush;
     Generator = generator;
     this.Translation = new Vector3(0, 0, 0);
     this.LocalTranslation = new Vector3(0, 0, 0);
 }
Esempio n. 3
0
 public CSGNode(BrushGenerator generator)
 {
     this.NodeType         = CSGNodeType.Brush;
     Generator             = generator;
     this.Translation      = new Vector3(0, 0, 0);
     this.LocalTranslation = new Vector3(0, 0, 0);
 }