Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
GeometryTriangleSampler Class Reference

Public Member Functions

 GeometryTriangleSampler (const GMathVec3d &vertex0, const GMathVec3d &vertex1, const GMathVec3d &vertex2)
 
void compute_uv (const GMathVec3d &position, double &u, double &v) const
 
double get_solid_angle (const GMathVec3d &position) const
 
float direction_sample (const GMathVec3d &position, const GMathVec2d &sample, GMathVec3d &direction, double &distance) const
 
float direction_pdf (const GMathVec3d &position) const
 
bool is_degenerate () const
 
GMathVec3d get_normal () const