Updated readability of the code.
[sixth-3d.git] / src / main / java / eu / svjatoslav / sixth / e3d / renderer / octree / raytracer / LightSource.java
1 /*
2  * Sixth 3D engine. Author: Svjatoslav Agejenko. 
3  * This project is released under Creative Commons Zero (CC0) license.
4  */
5 package eu.svjatoslav.sixth.e3d.renderer.octree.raytracer;
6
7 import eu.svjatoslav.sixth.e3d.geometry.Point3D;
8 import eu.svjatoslav.sixth.e3d.renderer.raster.Color;
9
10 /**
11  * Represents light source.
12  */
13 public class LightSource {
14
15     /**
16      * Light source location.
17      */
18     Point3D location;
19
20     /**
21      * Light source color.
22      */
23     public Color color;
24
25     /**
26      * Light source brightness.
27      */
28     public float brightness;
29
30     public LightSource(final Point3D location, final Color color,
31                        final float Brightness) {
32         this.location = location;
33         this.color = color;
34         brightness = Brightness;
35     }
36
37 }