public SphereFlake(Point3D center, float initialRadius, int maxDepth) { this.center = center; this.initialRadius = initialRadius; this.maxDepth = maxDepth; this.sphereFlake = new List <Primitive>(maxDepth * 6); this.sphereFlakeKDTree = new KDTreePrimitiveManager(this.sphereFlake); this.redoFlake(); }
public SphereFlake(Point3D center, float initialRadius, int maxDepth) { this.center = center; this.initialRadius = initialRadius; this.maxDepth = maxDepth; this.sphereFlake = new List<Primitive>(maxDepth * 6); this.sphereFlakeKDTree = new KDTreePrimitiveManager(this.sphereFlake); this.redoFlake(); }
public CubeFlake(Point3D center, float initialLength, int maxDepth) { this.center = center; this.initialLength = initialLength; this.maxDepth = maxDepth; this.cubeFlake = new List <Primitive>(maxDepth * 6); this.cubeFlakeKDTree = new KDTreePrimitiveManager(this.cubeFlake); this.redoFlake(); }
public CubeFlake(Point3D center, float initialLength, int maxDepth) { this.center = center; this.initialLength = initialLength; this.maxDepth = maxDepth; this.cubeFlake = new List<Primitive>(maxDepth * 6); this.cubeFlakeKDTree = new KDTreePrimitiveManager(this.cubeFlake); this.redoFlake(); }