Wiki > TV3D65 Index > TVMathLibrary
Performs linear interpolation between two quaternions.
| VB.NET | TVQuaternionLerp(retQuatResult As TV_3DQUATERNION , qQ1 As TV_3DQUATERNION , qQ2 As TV_3DQUATERNION , t As Single) |
|---|---|
| C++ | void TVQuaternionLerp(cTV_3DQUATERNION* retQuatResult , cTV_3DQUATERNION* qQ1 , cTV_3DQUATERNION* qQ2 , float t ) |
| NAME | OPTIONAL | DESCRIPTION |
|---|---|---|
| qQ1 | No | Quaternion 1 |
| qQ2 | No | Quaternion 2 |
| t | No | Interpolation coefficient |
| NAME | OPTIONAL | DESCRIPTION |
|---|---|---|
| retQuatResult | No | Interpolated quaternion |
| Example | Basic example. |
|---|