A representation of a line with order set to 2. More...
#include <ParametricCurve.h>


Public Member Functions | |
| LinearCurve () | |
| LinearCurve (const LinearCurve &other) | |
| ~LinearCurve () | |
| LinearCurve & | operator= (const LinearCurve &other) |
| void | makeLerp () |
A representation of a line with order set to 2.
| DATA_TYPE | The data type to use for the components. | |
| SIZE | The number of components this curve has. |
Definition at line 198 of file ParametricCurve.h.
| gmtl::LinearCurve< DATA_TYPE, SIZE >::LinearCurve | ( | ) |
Definition at line 210 of file ParametricCurve.h.
{
}
| gmtl::LinearCurve< DATA_TYPE, SIZE >::LinearCurve | ( | const LinearCurve< DATA_TYPE, SIZE > & | other | ) |
Definition at line 215 of file ParametricCurve.h.
{
*this = other;
}
| gmtl::LinearCurve< DATA_TYPE, SIZE >::~LinearCurve | ( | ) |
Definition at line 221 of file ParametricCurve.h.
{
}
| void gmtl::LinearCurve< DATA_TYPE, SIZE >::makeLerp | ( | ) |
Definition at line 235 of file ParametricCurve.h.
{
mBasisMatrix.set(
-1.0, 1.0,
1.0, 0.0
);
}
| LinearCurve< DATA_TYPE, SIZE > & gmtl::LinearCurve< DATA_TYPE, SIZE >::operator= | ( | const LinearCurve< DATA_TYPE, SIZE > & | other | ) |
Definition at line 227 of file ParametricCurve.h.
{
ParametricCurve::operator =(other);
return *this;
}
1.7.1