Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ONE::photon::PTriangle Class Reference

Inheritance diagram for ONE::photon::PTriangle:

Inheritance graph
[legend]
List of all members.

Public Member Functions

EntitygetEntity ()
void intersectRay (const Ray &ray, float &t, float &u, float &v)
 PTriangle (const Vector3 &v0, const Vector3 &v1, const Vector3 &v2, Entity *_entity)
 PTriangle ()

Public Attributes

Vector3 gnormal [3]
Vector2 uv [3]

Constructor & Destructor Documentation

ONE::photon::PTriangle::PTriangle  ) 
 

ONE::photon::PTriangle::PTriangle const Vector3 &  v0,
const Vector3 &  v1,
const Vector3 &  v2,
Entity _entity
 


Member Function Documentation

Entity* ONE::photon::PTriangle::getEntity  ) 
 

void ONE::photon::PTriangle::intersectRay const Ray &  ray,
float t,
float u,
float v
 


Member Data Documentation

Vector3 ONE::photon::PTriangle::gnormal[3]
 

Vector2 ONE::photon::PTriangle::uv[3]
 


Generated on Wed Sep 7 19:03:25 2005 for ONEngine by  doxygen 1.4.3