void glScalef(GLfloat x, GLfloat y, GLfloat z) { int mode = ctr_state.matrix_current; int depth = ctr_state.matrix_depth[mode]; matrix_4x4 *mat = &ctr_state.matrix[mode][depth]; if (!mat) { return; } m4x4_scale(mat, x, y, z); }
void matrixstack_scale(float x, float y) { m4x4_scale(matrixstack_head(), x, y, 0.0f); }