Beispiel #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);
 }
Beispiel #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);
 }
Beispiel #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);
 }