|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectapps.lightrays.raytracer.shaders.Shader
apps.lightrays.raytracer.shaders.PhongShader
apps.lightrays.raytracer.shaders.PlaneShader
public class PlaneShader
The Class PlaneShader.
| Constructor Summary | |
|---|---|
PlaneShader(Scene scene,
Ray incident_ray,
RayHitInfo hit,
Plane obj)
Instantiates a new plane shader. |
|
| Method Summary | |
|---|---|
void |
getColour(Colour c)
Gets the colour. |
| Methods inherited from class apps.lightrays.raytracer.shaders.PhongShader |
|---|
reflect, refract |
| Methods inherited from class apps.lightrays.raytracer.shaders.Shader |
|---|
getDepth, getIncident_ray, getOptical_properties, setDepth, setIncident_ray, setOptical_properties |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlaneShader(Scene scene,
Ray incident_ray,
RayHitInfo hit,
Plane obj)
scene - the sceneincident_ray - the incident_rayhit - the hitobj - the obj| Method Detail |
|---|
public void getColour(Colour c)
Shader
getColour in class PhongShaderc - the c
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||