search for: matrixscale

Displaying 2 results from an estimated 2 matches for "matrixscale".

2007 Jun 27
1
[PATCH] Scale z by 1 instead of 0
Hi, Currently some plugins call matrixScale with z parameter 0. This probably wasn't the intention and it might cause problems (it did in the past). 1 should be passed instead. This patch fixes this typo. Regards, Erkin -------------- next part --------------
2007 Jun 12
0
[PATCH] Combined checkFTB and capDirection into one checkOrientation function.
...], pntC[4]; - float vecA[3], vecB[3]; - float ortho[3]; + CUBE_SCREEN (s); - CUBE_SCREEN (s); - (*s->applyScreenTransform) (s, sAttrib, outputPtr, &sTransform); matrixTranslate (&sTransform, cs->outputXOffset, -cs->outputYOffset, 0.0f); matrixScale (&sTransform, cs->outputXScale, cs->outputYScale, 1.0f); MULTM (s->projection, sTransform.m, mvp); - pntA[0] = -0.5f; - pntA[1] = y, - pntA[2] = 0.0f; + pntA[0] = points[0][0]; + pntA[1] = points[0][1]; + pntA[2] = points[0][2]; pntA[3] = 1.0f; - pn...