Updated readability of the code.
[sixth-3d.git] / src / main / java / eu / svjatoslav / sixth / e3d / renderer / octree / raytracer / LightSource.java
index 3c963d6..c0939d7 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * Sixth 3D engine. Author: Svjatoslav Agejenko. 
+ * Sixth 3D engine. Author: Svjatoslav Agejenko.
  * This project is released under Creative Commons Zero (CC0) license.
  */
 package eu.svjatoslav.sixth.e3d.renderer.octree.raytracer;
@@ -12,20 +12,18 @@ import eu.svjatoslav.sixth.e3d.renderer.raster.Color;
  */
 public class LightSource {
 
-    /**
-     * Light source location.
-     */
-    Point3D location;
-
     /**
      * Light source color.
      */
     public Color color;
-
     /**
      * Light source brightness.
      */
     public float brightness;
+    /**
+     * Light source location.
+     */
+    Point3D location;
 
     public LightSource(final Point3D location, final Color color,
                        final float Brightness) {