Class RtPointLight
- java.lang.Object
-
- one.empty3.library.core.raytracer.RtNode
-
- one.empty3.library.core.raytracer.RtLight
-
- one.empty3.library.core.raytracer.RtPointLight
-
public class RtPointLight extends RtLight
-
-
Field Summary
-
Fields inherited from class one.empty3.library.core.raytracer.RtLight
mColor, mDiffuseColor, mIntensite, mLightType, mPosition, mSpecularColor
-
-
Constructor Summary
Constructors Constructor Description RtPointLight(Point3D myLightPos, RtColor myLightDiffuseColor, RtColor myLightSpecularColor, RtColor myLightColor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RtColor
getLightAt(Point3D normal, Point3D intersectionPoint, RtMatiere material)
boolean
intersectsNode(RtRay ray, RtIntersectInfo intersectInfo)
-
Methods inherited from class one.empty3.library.core.raytracer.RtLight
getColor, getPosition, getType, setIntensite
-
Methods inherited from class one.empty3.library.core.raytracer.RtNode
getName, getNodeInstance, getNodeType, setName, setNodeType
-
-
-
-
Method Detail
-
getLightAt
public RtColor getLightAt(Point3D normal, Point3D intersectionPoint, RtMatiere material)
- Specified by:
getLightAt
in classRtLight
-
intersectsNode
public boolean intersectsNode(RtRay ray, RtIntersectInfo intersectInfo)
- Specified by:
intersectsNode
in classRtNode
-
-