The easer class DtEaser return values along a bezier curve between input point 1 and point 2.
| makVrv::DtEaser::DtEaser |
( |
float |
x1, |
|
|
float |
y1, |
|
|
float |
x2, |
|
|
float |
y2 |
|
) |
| |
CTOR points(x1, y1) and (x2, y2) are the control points to a bezier curve between (0,0), and (1,1)
| virtual makVrv::DtEaser::~DtEaser |
( |
| ) |
|
|
virtual |
| float makVrv::DtEaser::getEasedValue |
( |
float |
atX | ) |
|
return the interpolated Y value at the X value. Input values are between 0 and 1
| float makVrv::DtEaser::calcBezier |
( |
float |
aT, |
|
|
float |
ax1, |
|
|
float |
ax2 |
|
) |
| |
|
protected |
| float makVrv::DtEaser::getSlope |
( |
float |
at, |
|
|
float |
a1, |
|
|
float |
a2 |
|
) |
| |
|
protected |
| float makVrv::DtEaser::getTforX |
( |
float |
x | ) |
|
|
protected |
| float makVrv::DtEaser::myX1 |
|
protected |
| float makVrv::DtEaser::myY1 |
|
protected |
| float makVrv::DtEaser::myX2 |
|
protected |
| float makVrv::DtEaser::myY2 |
|
protected |
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf5-1-branch/include/vrvUtil/DtEaser.h