Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 11 of 11) sorted by relevance

/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingDistanceAtte/
DLightingDistanceAtte.cpp195 nn::math::Matrix34 mv_tr, tmp; in DrawFrame() local
196 nn::math::MTX34Translate(&tmp, &trans); in DrawFrame()
197 MTX34Mult(&mv_tr, &mv, &tmp); in DrawFrame()
211 nn::math::Matrix34 mv_tr, tmp[2]; in DrawFrame() local
214 nn::math::MTX34Translate(&tmp[0], &trans); in DrawFrame()
215 nn::math::MTX34Scale(&tmp[1], &scale); in DrawFrame()
216 nn::math::MTX34Mult(&mv_tr, &mv, &tmp[0]); in DrawFrame()
217 nn::math::MTX34Mult(&mv_tr, &mv_tr, &tmp[1]); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/Demo/ScreenCapture/
Dgx_CaptureUtil.cpp29 f32 tmp = proj->m[2][3] / (proj->m[0][0] * proj->m[2][2]); in GetProjectionParameters() local
30 *left = tmp * (proj->m[0][2] - 1.0f); in GetProjectionParameters()
31 *right = tmp * (proj->m[0][2] + 1.0f); in GetProjectionParameters()
33 tmp = proj->m[2][3] / (proj->m[1][1] * proj->m[2][2]); in GetProjectionParameters()
34 *top = tmp * (proj->m[1][2] + 1.0f); in GetProjectionParameters()
35 *bottom = tmp * (proj->m[1][2] - 1.0f); in GetProjectionParameters()
DTriangleSimple.cpp117 nn::math::Matrix44 proj, tmp; in DrawDisplay0AndSave() local
166 … nn::math::MTX44Frustum(&tmp, -0.02f, 0.02f, -0.02f*nn::gx::DISPLAY0_HEIGHT/nn::gx::DISPLAY0_WIDTH, in DrawDisplay0AndSave()
169 GetProjectionForPartialCapture(&proj, &tmp, 2, i, j, 0.0f, nn::math::PIVOT_NONE); in DrawDisplay0AndSave()
/CTR-SDK-4.2.7-SampleDemos/common/libraries/demo/Utility/
Ddemo_TextureConverter.cpp22 #define SWAP(A, B) tmp = (A); (A) = (B); (B) = tmp
379 u8 tmp; in ConvertFormat8888Function() local
394 u8 tmp; in ConvertFormat888Function() local
408 u8 tmp; in ConvertFormat88Function() local
/CTR-SDK-4.2.7-SampleDemos/gx/Api/EarlyDepthTestSample/
DEarlyDepthTestSample.cpp180 nn::math::Matrix44 tmp(vTmp); in DrawFrame() local
181 glUniformMatrix4fv(s_UniformLocationView, 1, GL_TRUE, static_cast<f32*>(tmp)); in DrawFrame()
207 nn::math::Matrix44 tmp(vTmp); in DrawFrame() local
208 glUniformMatrix4fv(s_UniformLocationView, 1, GL_TRUE, static_cast<f32*>(tmp)); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingVertex/
DLightingVertex.cpp227 nn::math::Matrix44 tmp(mv); in DrawFrame() local
228 …glUniformMatrix4fv(glGetUniformLocation(s_PgID, "uModelView"), 1, GL_TRUE, static_cast<f32*>(tmp)); in DrawFrame()
273 …glUniformMatrix4fv(glGetUniformLocation(s_PgID, "uModelView"), 1, GL_TRUE, static_cast<f32*>(tmp)); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/PartsysGas/
DPartsysGas.cpp440 nn::math::Matrix34 mv_rot, tmp; in DrawFrame() local
441 nn::math::MTX34RotXYZDeg(&tmp, 0.f, 45.0f, 0.f); in DrawFrame()
442 nn::math::MTX34Mult(&mv_rot, &mv, &tmp); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/GasCessna/
DGasCessna.cpp380 nn::math::Matrix34 mv_rot, tmp; in DrawFrame() local
381 nn::math::MTX34RotXYZDeg(&tmp, 0.f, -90.f, 0.f); in DrawFrame()
382 nn::math::MTX34Mult(&mv_rot, &mv, &tmp); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingFresnel/
DLightingFresnel.cpp289 nn::math::Matrix44 tmp(mv); in DrawFrame() local
290 …formMatrix4fv(glGetUniformLocation(s_ProgramID, "uModelView"), 1, GL_TRUE, static_cast<f32*>(tmp)); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingAniso/
DLightingAniso.cpp329 nn::math::Matrix44 tmp(mv); in DrawFrame() local
330 …formMatrix4fv(glGetUniformLocation(s_ProgramID, "uModelView"), 1, GL_TRUE, static_cast<f32*>(tmp)); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/camera/Stereo/
Dmain.cpp1875 nn::math::MTX34 tmp(eye); in DrawCameraImage() local
1891 nn::math::MTX34Mult(&tmp, &tmp, &move); in DrawCameraImage()
1893 nn::math::MTX44 mv(tmp); in DrawCameraImage()