Przeglądaj źródła

Fixed indentation

Max Nuding 13 lat temu
rodzic
commit
def65904c8
1 zmienionych plików z 13 dodań i 14 usunięć
  1. 13
    14
      Cube Control/frame.java

+ 13
- 14
Cube Control/frame.java Wyświetl plik

@@ -34,23 +34,22 @@ import javax.vecmath.*;
34 34
 import com.sun.j3d.utils.behaviors.mouse.*;
35 35
 
36 36
 class Led3D {
37
-  private Canvas3D canvas = null;
38
-  private SimpleUniverse universe = null;
39
-    private BranchGroup group = null;
40
-  private Transform3D trans3D = null;
41
-  private BranchGroup inBetween = null;
42
-  private TransformGroup transGroup = null;
43
-
44
-  private Sphere[][][] leds = new Sphere[8][8][8];
45
-
37
+	private Canvas3D canvas = null;
38
+	private SimpleUniverse universe = null;
39
+	private BranchGroup group = null;
40
+	private Transform3D trans3D = null;
41
+	private BranchGroup inBetween = null;
42
+	private TransformGroup transGroup = null;
43
+
44
+	private Sphere[][][] leds = new Sphere[8][8][8];
46 45
 	private static ColoringAttributes redColor = new ColoringAttributes(new Color3f(1.0f, 0.0f, 0.0f), ColoringAttributes.FASTEST);
47 46
 	private static ColoringAttributes whiteColor = new ColoringAttributes(new Color3f(1.0f, 1.0f, 1.0f), ColoringAttributes.FASTEST);
48
-  private static Material whiteMat = new Material(new Color3f(1.0f, 1.0f, 1.0f), new Color3f(1.0f, 1.0f, 1.0f), new Color3f(1.0f, 1.0f, 1.0f), new Color3f(1.0f, 1.0f, 1.0f), 42.0f);
49
-  private static Material redMat = new Material(new Color3f(1.0f, 0.0f, 0.0f), new Color3f(1.0f, 0.0f, 0.0f), new Color3f(1.0f, 0.0f, 0.0f), new Color3f(1.0f, 0.0f, 0.0f), 42.0f);
47
+	private static Material whiteMat = new Material(new Color3f(1.0f, 1.0f, 1.0f), new Color3f(1.0f, 1.0f, 1.0f), new Color3f(1.0f, 1.0f, 1.0f), new Color3f(1.0f, 1.0f, 1.0f), 42.0f);
48
+	private static Material redMat = new Material(new Color3f(1.0f, 0.0f, 0.0f), new Color3f(1.0f, 0.0f, 0.0f), new Color3f(1.0f, 0.0f, 0.0f), new Color3f(1.0f, 0.0f, 0.0f), 42.0f);
50 49
 
51
-  private Point3d eye = new Point3d(3.5, 3.5, -13.0);
52
-  private Point3d look = new Point3d(3.5, 3.5, 0.0);
53
-  private Vector3d lookVect = new Vector3d(1.0, 1.0, 0.0);
50
+	private Point3d eye = new Point3d(3.5, 3.5, -13.0);
51
+	private Point3d look = new Point3d(3.5, 3.5, 0.0);
52
+	private Vector3d lookVect = new Vector3d(1.0, 1.0, 0.0);
54 53
 
55 54
   Led3D(Canvas3D canv) {
56 55
 

Ładowanie…
Anuluj
Zapisz