Home
last modified time | relevance | path

Searched refs:tempMtx (Results 1 – 3 of 3) sorted by relevance

/RvlSDK-3.2.2/build/demos/gxdemo/src/Indirect/
Dind-bump-st.c186 Mtx tempMtx; in setupMatrices() local
191 MTXRotDeg(tempMtx, 'y', -LIT_Y_ANGLE); in setupMatrices()
192 MTXConcat(lightMtx, tempMtx, lightMtx); in setupMatrices()
193 MTXRotDeg(tempMtx, 'x', -LIT_X_ANGLE); in setupMatrices()
194 MTXConcat(lightMtx, tempMtx, lightMtx); in setupMatrices()
230 Mtx normalTexMtx, binormalTexMtx, textureMtx, tempMtx; in updateMatrices() local
236 if (!MTXInverse(vertexMtx, tempMtx)) {ASSERTMSG(0,"Singular matrix!\n");} in updateMatrices()
237 MTXTranspose(tempMtx, normalMtx); in updateMatrices()
241 MTXTrans(tempMtx, 0.5f, 0.5f, 0.0f); in updateMatrices()
242 MTXConcat(tempMtx, normalMtx, normalTexMtx); in updateMatrices()
[all …]
Dind-bump-xyz.c245 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()
[all …]
Dind-pseudo-3d.c264 Mtx textureMtx, tempMtx; in updateMatrices() local
270 if (!MTXInverse(vertexMtx, tempMtx)) in updateMatrices()
272 MTXTranspose(tempMtx, normalMtx); in updateMatrices()
470 Mtx myobjMtx, tempMtx; in updateScene() local
473 MTXRotDeg(tempMtx, 'x', -r2); in updateScene()
474 MTXConcat(tempMtx, objectMtx, objectMtx); in updateScene()
475 MTXRotDeg(tempMtx, 'z', r1); in updateScene()
476 MTXConcat(tempMtx, objectMtx, objectMtx); in updateScene()
477 MTXTrans(tempMtx, x, y, z); in updateScene()
478 MTXConcat(tempMtx, objectMtx, myobjMtx); in updateScene()
[all …]