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 {
16 * Light source location.
26 * Light source brightness.
28 public float brightness;
30 public LightSource(final Point3D location, final Color color,
31 final float Brightness) {
32 this.location = location;
34 brightness = Brightness;