#include <UT_PolySample.h>
Public Member Functions | |
| void | init (float x0[2], float x1[2], float x2[2]) |
| void | setVertices (fpreal x0, fpreal y0, fpreal x1, fpreal y1, fpreal x2, fpreal y2) |
| void | initD0 (float x0[2], float x2[2], fpreal dx, fpreal dy) |
| int | sample (fpreal sx, fpreal sy, fpreal x0, fpreal y0, float &u, float &v) |
Public Attributes | |
| float | u0 |
| float | u1 |
| float | v0 |
| float | v1 |
| float | Nxi |
Definition at line 36 of file UT_PolySample.h.
| void UT_SampleSimpleTri2D::init | ( | float | x0[2], | |
| float | x1[2], | |||
| float | x2[2] | |||
| ) | [inline] |
Definition at line 42 of file UT_PolySample.h.
Definition at line 56 of file UT_PolySample.h.
| int UT_SampleSimpleTri2D::sample | ( | fpreal | sx, | |
| fpreal | sy, | |||
| fpreal | x0, | |||
| fpreal | y0, | |||
| float & | u, | |||
| float & | v | |||
| ) | [inline] |
Definition at line 63 of file UT_PolySample.h.
| void UT_SampleSimpleTri2D::setVertices | ( | fpreal | x0, | |
| fpreal | y0, | |||
| fpreal | x1, | |||
| fpreal | y1, | |||
| fpreal | x2, | |||
| fpreal | y2 | |||
| ) | [inline] |
Definition at line 48 of file UT_PolySample.h.
Definition at line 40 of file UT_PolySample.h.
| float UT_SampleSimpleTri2D::u0 |
Definition at line 38 of file UT_PolySample.h.
| float UT_SampleSimpleTri2D::u1 |
Definition at line 38 of file UT_PolySample.h.
| float UT_SampleSimpleTri2D::v0 |
Definition at line 39 of file UT_PolySample.h.
| float UT_SampleSimpleTri2D::v1 |
Definition at line 39 of file UT_PolySample.h.
1.5.9