Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

RayGina::CORE::RobMeshNormalsTriangle Class Reference

#include <RobMeshNormalsTriangle.hxx>

Inheritance diagram for RayGina::CORE::RobMeshNormalsTriangle:

RayGina::CORE::RobMeshTriangle RayGina::CORE::RobGeometry RayGina::CORE::RobBase RayGina::CORE::RObject RayGina::CORE::RobMeshNormalsUVTriangle List of all members.

Public Member Functions

 RobMeshNormalsTriangle (RobMesh *newMesh, RUInt32 newTriangleIndex)
const RVec3r getNormal (RRay *ray)
 get the normal from the object according to the given ray

Constructor & Destructor Documentation

RayGina::CORE::RobMeshNormalsTriangle::RobMeshNormalsTriangle RobMesh newMesh,
RUInt32  newTriangleIndex
[inline]
 

Definition at line 12 of file RobMeshNormalsTriangle.hxx.


Member Function Documentation

const RVec3r RayGina::CORE::RobMeshNormalsTriangle::getNormal RRay ray  )  [inline, virtual]
 

get the normal from the object according to the given ray

returns the normal from the surface according to the last intersection tes with the given ray THE GIVEN RAY MUST BE THE SAME LIKE THE ONE YOU PERFORMED THE LAST INTESECTION TEST WITH THE OBJECT!!

Reimplemented from RayGina::CORE::RobMeshTriangle.

Definition at line 14 of file RobMeshNormalsTriangle.hxx.


The documentation for this class was generated from the following file:
Generated on Sun Dec 2 17:01:11 2007 for rayGina by  doxygen 1.3.9.1