![]() |
VR-Link API Documentation for DIS
|
This file exists to provide backwards compatibility only, and may be removed in a future release. More...
Go to the source code of this file.
Functions | |
| double | DtModPer (double x, double incl, double excl) |
| Periodic modulus. | |
| double | DtModPerZero (double x, double per) |
| For x with period per, return 0 <= x < per. | |
| double | DtModPerLo (double x, double min, double max) |
| For x with period (max-min), return min <= x < max. | |
| double | DtModPerHi (double x, double min, double max) |
| For x with period (max-min), return min < x <= max. | |
This file exists to provide backwards compatibility only, and may be removed in a future release.
| double DtModPer | ( | double | x, |
| double | incl, | ||
| double | excl | ||
| ) |
Periodic modulus.
For x with period ABS(incl-excl), return DtModPerLo(x, incl, excl) if incl < excl return DtModPerHi(x, excl, incl) if incl > excl
| double DtModPerHi | ( | double | x, |
| double | min, | ||
| double | max | ||
| ) |
For x with period (max-min), return min < x <= max.
| double DtModPerLo | ( | double | x, |
| double | min, | ||
| double | max | ||
| ) |
For x with period (max-min), return min <= x < max.
| double DtModPerZero | ( | double | x, |
| double | per | ||
| ) |
For x with period per, return 0 <= x < per.