UV Class Reference
UV coordinate wrapper for texture coordinates. More...
#include <UV.h>
Public Member Functions | |
| UV (real_t u_, real_t v_) | |
| UV (const Point2 &p) | |
| UV () | |
| real_t | operator[] (unsigned index) const |
| real_t & | operator[] (unsigned index) |
Public Attributes | |
| union { | |
| struct { | |
| real_t u | |
| real_t v | |
| } | |
| real_t data [2] | |
| }; | |
Detailed Description
UV coordinate wrapper for texture coordinates.
- Date:
- Spring 2008
- Note:
- u and v should lie in [0, 1]
Definition at line 17 of file UV.h.
Constructor & Destructor Documentation
Member Function Documentation
Member Data Documentation
| union { ... } |
The documentation for this class was generated from the following file:
Generated on 28 Feb 2009 for Milton by
1.5.6