コード例 #1
0
ファイル: MarchingCubes2.cs プロジェクト: samhogan/AUG
 static public void SetModeToTetrahedrons()
 {
     Mode_Func = MarchCubeTetrahedron;
 }
コード例 #2
0
ファイル: MarchingCubes2.cs プロジェクト: samhogan/AUG
 //Set the mode to use
 //Cubes is faster and creates less verts, tetrahedrons is slower and creates more verts but better represents the mesh surface
 static public void SetModeToCubes()
 {
     Mode_Func = MarchCube;
 }
	//Set the mode to use
	//Cubes is faster and creates less verts, tetrahedrons is slower and creates more verts but better represents the mesh surface
	static public void SetModeToCubes() { Mode_Func = MarchCube; }
	static public void SetModeToTetrahedrons() { Mode_Func = MarchCubeTetrahedron; } 
コード例 #5
0
 //Set the mode to use
 //Rects is faster and creates less verts, tetrahedrons is slower and creates more verts but better represents the mesh surface
 public static void SetModeToRects()
 {
     Mode_Func = MarchRect;
 }