Lines Matching refs:tempMtx

245     Mtx tempMtx;  in setupMatrices()  local
250 MTXRotDeg(tempMtx, 'y', -(LIT_Y_ANGLE)); in setupMatrices()
251 MTXConcat(lightMtx, tempMtx, lightMtx); in setupMatrices()
252 MTXRotDeg(tempMtx, 'x', -(LIT_X_ANGLE)); in setupMatrices()
253 MTXConcat(lightMtx, tempMtx, lightMtx); in setupMatrices()
295 Mtx normalTexMtx, textureMtx, tempMtx; in updateMatrices() local
302 if (!MTXInverse(vertexMtx, tempMtx)) {ASSERTMSG(0,"Singular matrix!\n");} in updateMatrices()
303 MTXTranspose(tempMtx, normalMtx); in updateMatrices()
308 MTXScale(tempMtx, NRM_SCALE/2, -NRM_SCALE/2, NRM_SCALE/2); in updateMatrices()
309 MTXConcat(tempMtx, normalMtx, normalTexMtx); in updateMatrices()
310 MTXTrans(tempMtx, 0.5f, 0.5f, 0.0f); in updateMatrices()
311 MTXConcat(tempMtx, normalTexMtx, normalTexMtx); in updateMatrices()
316 MTXScale(tempMtx, NRM_SCALE/2, NRM_SCALE/2, NRM_SCALE/2); in updateMatrices()
317 MTXConcat(tempMtx, normalMtx, bumpnormalMtx); in updateMatrices()
341 Mtx tempMtx, litMtx; in setLight() local
350 if (!MTXInverse(obj, tempMtx)) {ASSERTMSG(0,"Singular matrix!\n");} in setLight()
351 MTXConcat(cam, tempMtx, litMtx); in setLight()
354 if (!MTXInverse(litMtx, tempMtx)) {ASSERTMSG(0,"Singular matrix!\n");} in setLight()
355 MTXTranspose(tempMtx, litMtx); in setLight()
579 Mtx donutMtx, tempMtx; in updateDonut() local
582 MTXRotDeg(tempMtx, 'x', -r2); in updateDonut()
583 MTXConcat(tempMtx, objectMtx, objectMtx); in updateDonut()
584 MTXRotDeg(tempMtx, 'y', r1); in updateDonut()
585 MTXConcat(tempMtx, objectMtx, objectMtx); in updateDonut()
586 MTXTrans(tempMtx, x, y, z); in updateDonut()
587 MTXConcat(tempMtx, objectMtx, donutMtx); in updateDonut()