Next: Drawing Routines
Up: Utility Functions
Previous: Method String Functions
To exchange the two variables a and b you can use the
following swap functions:
-
void g_swap_int (int *a, int *b)
-
void g_swap_float (float *a, float *b)
-
void g_swap_double (double *a, double *b)
-
void g_swap_vec3 (VEC3 a, VEC3 b)
-
void g_swap_vec4 (VEC4 a, VEC4 b)
SFB 256 Universität Bonn and IAM Universität Freiburg Copyright © by the Sonderforschungsbereich 256 at the Institut für Angewandte Mathematik,
Universität Bonn.