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); }
public CSGNode(BrushGenerator generator) { this.NodeType = CSGNodeType.Brush; Generator = generator; this.Translation = new Vector3(0, 0, 0); this.LocalTranslation = new Vector3(0, 0, 0); }