Fixed git clone URL
[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 color.
17      */
18     public Color color;
19     /**
20      * Light source brightness.
21      */
22     public float brightness;
23     /**
24      * Light source location.
25      */
26     Point3D location;
27
28     public LightSource(final Point3D location, final Color color,
29                        final float Brightness) {
30         this.location = location;
31         this.color = color;
32         brightness = Brightness;
33     }
34
35 }