Exemplo 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);
 }
Exemplo 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);
 }
Exemplo 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);
 }