2 * Sixth 3D engine. Author: Svjatoslav Agejenko.
3 * This project is released under Creative Commons Zero (CC0) license.
5 package eu.svjatoslav.sixth.e3d.renderer.octree.raytracer;
7 import eu.svjatoslav.sixth.e3d.geometry.Point3D;
8 import eu.svjatoslav.sixth.e3d.renderer.raster.Color;
11 * Represents light source.
13 public class LightSource {
20 * Light source brightness.
22 public float brightness;
24 * Light source location.
28 public LightSource(final Point3D location, final Color color,
29 final float Brightness) {
30 this.location = location;
32 brightness = Brightness;