Lines Matching defs:mvp
88 struct matrix mvp;
149 const struct matrix *mvp)
151 struct matrix *cur = &renderer->mvp;
157 if (!mvp)
158 mvp = &renderer->projection;
161 if (memcmp(cur, mvp, sizeof(*mvp)) == 0)
166 consts[i][0] = mvp->m[i + 0];
167 consts[i][1] = mvp->m[i + 3];
169 consts[i][3] = mvp->m[i + 6];
185 memcpy(cur, mvp, sizeof(*mvp));
1384 struct matrix mvp = renderer->projection;
1387 matrix_mult(&mvp, modelview);
1388 renderer_set_mvp(renderer, &mvp);
1399 struct matrix mvp = renderer->projection;
1402 matrix_mult(&mvp, modelview);
1403 renderer_set_mvp(renderer, &mvp);