Lines Matching refs:scale
734 /* Derive min/max from translate/scale. Note since |x| >= 0 by
735 * definition, we have that -|x| <= |x| hence translate - |scale| <=
736 * translate + |scale|, so the ordering is correct here. */
737 float vp_minx = vp->translate[0] - fabsf(vp->scale[0]);
738 float vp_maxx = vp->translate[0] + fabsf(vp->scale[0]);
739 float vp_miny = vp->translate[1] - fabsf(vp->scale[1]);
740 float vp_maxy = vp->translate[1] + fabsf(vp->scale[1]);
741 float minz = (vp->translate[2] - fabsf(vp->scale[2]));
742 float maxz = (vp->translate[2] + fabsf(vp->scale[2]));
1057 uniform->f[0] = vp->scale[0];
1058 uniform->f[1] = vp->scale[1];
1059 uniform->f[2] = vp->scale[2];