get_translation_matrix_f

Constructs a translation matrix.

Description

void get_translation_matrix_f(MATRIX_f *m, float x, float y, float z);
Constructs a translation matrix, storing it in m. When applied to the point (px, py, pz), this matrix will produce the point (px+x, py+y, pz+z). In other words, it moves things sideways.
Examples using this:

Related Projects

The following projects include source code containing this keyword: