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

Public Member Functions

 UvFrame (const GMathVec2f &c0, const GMathVec2f &c1, const GMathVec2f &c2, const GMathVec2f &c3)
 
 UvFrame (const float &u0, const float &v0, const float &u1, const float &v1, const float &u2, const float &v2, const float &u3, const float &v3)
 
void compute_smooth_uv (const float &s, const float &t, float &u, float &v) const
 
void compute_flat_uv0 (const float &s, const float &t, float &u, float &v) const
 
void compute_flat_uv1 (const float &s, const float &t, float &u, float &v) const
 
void compute_smooth_uv (const GMathVec2f &st, GMathVec2f &uv) const
 
void compute_flat_uv0 (const GMathVec2f &st, GMathVec2f &uv) const
 
void compute_flat_uv1 (const GMathVec2f &st, GMathVec2f &uv) const
 
bool intersect_smooth (const float &u, const float &v, float &s, float &t, const float &epsilon=0.0f) const
 
bool intersect_flat0 (const float &u, const float &v, float &s, float &t, const float &epsilon=0.0f) const
 
bool intersect_flat1 (const float &u, const float &v, float &s, float &t, const float &epsilon=0.0f) const
 
GMathVec2f & operator[] (const unsigned int &i)
 
const GMathVec2f & operator[] (const unsigned int &i) const
 

Public Attributes

GMathVec2f corners [4]