public DelegateHermiteGrid(Func <Point3, bool> getSignDel, Func <Point3, int, Vector4> getEdgeDataDel, Point3 dimensions) { this.getSignDel = getSignDel; this.getEdgeDataDel = getEdgeDataDel; this.dimensions = dimensions; var mat = new DCVoxelMaterial() { Texture = DCFiles.UVCheckerMap10_512 }; this.getMaterial = _ => mat; }
public DensityFunctionHermiteGrid(Func <Vector3, float> densityFunction, Point3 dimensions) { this.densityFunction = densityFunction; this.dimensions = dimensions; var mat = new DCVoxelMaterial() { Texture = DCFiles.UVCheckerMap10_512 }; getMaterial = p => mat; }