|
float | cs237::clamp (float f) |
| clamp a value to the range [0..1]. More...
|
|
double | cs237::clamp (double f) |
| clamp a value to the range [0..1]. More...
|
|
float | cs237::radians (float theta) |
| convert an angle from degrees to radians More...
|
|
double | cs237::radians (double theta) |
| convert an angle from degrees to radians More...
|
|
float | cs237::degrees (float theta) |
| convert an angle from radians to degrees More...
|
|
double | cs237::degrees (double theta) |
| convert an angle from radians to degrees More...
|
|
float | cs237::mix (float a, float t, float b) |
| scalar linear interpolation More...
|
|
double | cs237::mix (double a, double t, double b) |
| scalar linear interpolation More...
|
|
int | cs237::min (int a, int b) |
| minimum at various types More...
|
|
float | cs237::min (float a, float b) |
|
double | cs237::min (double a, double b) |
|
int | cs237::max (int a, int b) |
| maximum at various types More...
|
|
float | cs237::max (float a, float b) |
|
double | cs237::max (double a, double b) |
|
int | cs237::abs (int a) |
| absolute value at various types More...
|
|
float | cs237::abs (float a) |
|
double | cs237::abs (double a) |
|
float | cs237::__detail::toFloat (unsigned char b) |
|
unsigned char | cs237::__detail::toByte (float f) |
|
void | cs237::__detail::ReportError (GLenum err, const char *file, int line, const char *msg) |
|
void | cs237::__detail::checkError (const char *file, int line, const char *msg) |
|
vec2f | cs237::toFloat (vec2d const &v) |
|
vec3f | cs237::toFloat (vec3d const &v) |
|
vec4f | cs237::toFloat (vec4d const &v) |
|
vec2d | cs237::toDouble (vec2f const &v) |
|
vec3d | cs237::toDouble (vec3f const &v) |
|
vec4d | cs237::toDouble (vec4f const &v) |
|
Support code for CMSC 23700 Autumn 2015.
Inline utility functions.
- Author
- John Reppy