Home
last modified time | relevance | path

Searched refs:mv (Results 1 – 24 of 24) sorted by relevance

/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingDistanceAtte/
DLightingDistanceAtte.cpp155 nn::math::Matrix34 mv, rot; in DrawFrame() local
170 nn::math::MTX34LookAt(&mv, &camPos, &camUp, &target); in DrawFrame()
171 nn::math::MTX34Mult(&mv, &rot, &mv); in DrawFrame()
176 nn::math::Vector4 mv0(mv.m[0][0], mv.m[0][1], mv.m[0][2], mv.m[0][3]); in DrawFrame()
177 nn::math::Vector4 mv1(mv.m[1][0], mv.m[1][1], mv.m[1][2], mv.m[1][3]); in DrawFrame()
178 nn::math::Vector4 mv2(mv.m[2][0], mv.m[2][1], mv.m[2][2], mv.m[2][3]); in DrawFrame()
197 MTX34Mult(&mv_tr, &mv, &tmp); in DrawFrame()
216 nn::math::MTX34Mult(&mv_tr, &mv, &tmp[0]); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingSpotAtte/
DLightingSpotAtte.cpp166 nn::math::Matrix34 mv, rot; in DrawFrame() local
181 nn::math::MTX34LookAt(&mv, &camPos, &camUp, &target); in DrawFrame()
182 nn::math::MTX34Mult(&mv, &rot, &mv); in DrawFrame()
194 nn::math::Vector4 mv0(mv.m[0][0], mv.m[0][1], mv.m[0][2], mv.m[0][3]); in DrawFrame()
195 nn::math::Vector4 mv1(mv.m[1][0], mv.m[1][1], mv.m[1][2], mv.m[1][3]); in DrawFrame()
196 nn::math::Vector4 mv2(mv.m[2][0], mv.m[2][1], mv.m[2][2], mv.m[2][3]); in DrawFrame()
238 nn::math::Matrix44 m(mv); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/Api/CommandBufferJump/
DCommandBufferJump.cpp376 nn::math::Matrix34 mv, rot; in CreateCommand() local
405 nn::math::MTX34LookAt(&mv, &camPos, &camUp, &target); in CreateCommand()
406 nn::math::MTX34Mult(&mv, &rot, &mv); in CreateCommand()
410 nn::math::Vector4 mv0(mv.m[0][0], mv.m[0][1], mv.m[0][2], mv.m[0][3]); in CreateCommand()
411 nn::math::Vector4 mv1(mv.m[1][0], mv.m[1][1], mv.m[1][2], mv.m[1][3]); in CreateCommand()
412 nn::math::Vector4 mv2(mv.m[2][0], mv.m[2][1], mv.m[2][2], mv.m[2][3]); in CreateCommand()
482 nn::math::Matrix34 mv, rot, trans, scale; in DrawFrame() local
502 nn::math::MTX34LookAt(&mv, &camPos, &camUp, &target); in DrawFrame()
503 nn::math::MTX34Mult(&mv, &rot, &mv); in DrawFrame()
505 nn::math::MTX34Mult(&mv, &mv, &rot); in DrawFrame()
[all …]
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingAniso/
DLightingAniso.cpp228 nn::math::Matrix34 mv; in SetRenderState() local
233 nn::math::MTX34LookAt(&mv, &camPos, &camUp, &target); in SetRenderState()
238 nn::math::Vector4 mv0(mv.m[0][0], mv.m[0][1], mv.m[0][2], mv.m[0][3]); in SetRenderState()
239 nn::math::Vector4 mv1(mv.m[1][0], mv.m[1][1], mv.m[1][2], mv.m[1][3]); in SetRenderState()
240 nn::math::Vector4 mv2(mv.m[2][0], mv.m[2][1], mv.m[2][2], mv.m[2][3]); in SetRenderState()
319 nn::math::Matrix34 mv, rot; in DrawFrame() local
324 nn::math::MTX34LookAt(&mv, &camPos, &camUp, &target); in DrawFrame()
327 nn::math::MTX34Mult(&mv, &mv, &rot); in DrawFrame()
329 nn::math::Matrix44 tmp(mv); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingToonApple/
DLightingToonApple.cpp320 nn::math::Matrix34 mv; in DrawFrame() local
324 nn::math::MTX34LookAt(&mv, &camPos, &camUp, &target); in DrawFrame()
328 nn::math::Vector4 mv0(mv.m[0][0], mv.m[0][1], mv.m[0][2], mv.m[0][3]); in DrawFrame()
329 nn::math::Vector4 mv1(mv.m[1][0], mv.m[1][1], mv.m[1][2], mv.m[1][3]); in DrawFrame()
330 nn::math::Vector4 mv2(mv.m[2][0], mv.m[2][1], mv.m[2][2], mv.m[2][3]); in DrawFrame()
336 nn::math::MTX34Mult(&mv, &mv, &rot); in DrawFrame()
337 nn::math::Matrix44 m(mv); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingFresnel/
DLightingFresnel.cpp271 nn::math::Matrix34 mv; in DrawFrame() local
275 nn::math::MTX34LookAt(&mv, &camPos, &camUp, &target); in DrawFrame()
278 nn::math::Vector4 mv0(mv.m[0][0], mv.m[0][1], mv.m[0][2], mv.m[0][3]); in DrawFrame()
279 nn::math::Vector4 mv1(mv.m[1][0], mv.m[1][1], mv.m[1][2], mv.m[1][3]); in DrawFrame()
280 nn::math::Vector4 mv2(mv.m[2][0], mv.m[2][1], mv.m[2][2], mv.m[2][3]); in DrawFrame()
287 nn::math::MTX34Mult(&mv, &mv, &rot); in DrawFrame()
289 nn::math::Matrix44 tmp(mv); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingMicrofacet/
DLightingMicrofacet.cpp359 nn::math::Matrix34 mv, rot; in DrawFrame() local
373 nn::math::MTX34LookAt(&mv, &camPos, &camUp, &target); in DrawFrame()
374 nn::math::MTX34Mult(&mv, &rot, &mv); in DrawFrame()
378 nn::math::Vector4 mv0(mv.m[0][0], mv.m[0][1], mv.m[0][2], mv.m[0][3]); in DrawFrame()
379 nn::math::Vector4 mv1(mv.m[1][0], mv.m[1][1], mv.m[1][2], mv.m[1][3]); in DrawFrame()
380 nn::math::Vector4 mv2(mv.m[2][0], mv.m[2][1], mv.m[2][2], mv.m[2][3]); in DrawFrame()
386 nn::math::MTX34Mult(&mv, &mv, &rot); in DrawFrame()
387 nn::math::Matrix44 m(mv); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingSss/
DLightingSss.cpp366 nn::math::Matrix34 mv, rot; in DrawFrame() local
380 nn::math::MTX34LookAt(&mv, &camPos, &camUp, &target); in DrawFrame()
381 nn::math::MTX34Mult(&mv, &rot, &mv); in DrawFrame()
385 nn::math::Vector4 mv0(mv.m[0][0], mv.m[0][1], mv.m[0][2], mv.m[0][3]); in DrawFrame()
386 nn::math::Vector4 mv1(mv.m[1][0], mv.m[1][1], mv.m[1][2], mv.m[1][3]); in DrawFrame()
387 nn::math::Vector4 mv2(mv.m[2][0], mv.m[2][1], mv.m[2][2], mv.m[2][3]); in DrawFrame()
394 nn::math::MTX34Mult(&mv, &mv, &rot); in DrawFrame()
395 nn::math::Matrix44 m(mv); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingVertex/
DLightingVertex.cpp204 nn::math::Matrix34 mv; in DrawFrame() local
220 nn::math::MTX34RotXYZDeg(&mv, 0.0f, 0.0f, -90.0f); in DrawFrame()
226 nn::math::MTX34Mult(&mv, &mv, &cam); in DrawFrame()
227 nn::math::Matrix44 tmp(mv); in DrawFrame()
237 nn::math::Vector4 mvv0(mv.m[0]); in DrawFrame()
238 nn::math::Vector4 mvv1(mv.m[1]); in DrawFrame()
239 nn::math::Vector4 mvv2(mv.m[2]); in DrawFrame()
262 nn::math::MTX34Mult(&mv2, &mv, &arr[0]); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/GasColorSimple/
DGasColorSimple.cpp284 nn::math::Matrix34 mv, rot; in DrawFrame() local
289 nn::math::MTX34LookAt(&mv, &camPos, &camUp, &target); in DrawFrame()
291 nn::math::MTX34Mult(&mv, &mv, &rot); in DrawFrame()
297 nn::math::MTX34Mult(&mv_rot, &mv, &mv_rot); in DrawFrame()
309 nn::math::MTX34MultTranslate(&mv_tr, &mv, &trans); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/GasColorOptimal/
DGasColorOptimal.cpp268 nn::math::Matrix34 mv, rot; in DrawFrame() local
273 nn::math::MTX34LookAt(&mv, &camPos, &camUp, &target); in DrawFrame()
275 nn::math::MTX34Mult(&mv, &mv, &rot); in DrawFrame()
281 nn::math::MTX34Mult(&mv_rot, &mv, &mv_rot); in DrawFrame()
294 nn::math::MTX34MultTranslate(&mv_tr, &mv, &trans); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/Demo/ScreenCapture/
DTriangleSimple.cpp104 nn::math::Matrix44 mv(eye); in DrawDisplay0() local
105 glUniformMatrix4fv(glGetUniformLocation(s_PgID, "uModelView"), 1, GL_TRUE, (f32*)(mv)); in DrawDisplay0()
149 nn::math::Matrix44 mv(eye); in DrawDisplay0AndSave() local
150 glUniformMatrix4fv(glGetUniformLocation(s_PgID, "uModelView"), 1, GL_TRUE, (f32*)(mv)); in DrawDisplay0AndSave()
172 glUniformMatrix4fv(glGetUniformLocation(s_PgID, "uModelView"), 1, GL_TRUE, (f32*)(mv)); in DrawDisplay0AndSave()
/CTR-SDK-4.2.7-SampleDemos/demo1/
Dgx.cpp156 nn::math::Matrix44 mv(eye); in DrawFrame() local
157 glUniformMatrix4fv(glGetUniformLocation(s_PgID, "uModelView"), 1, GL_TRUE, (f32*)(mv)); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/Api/AlphaTest/
Dgx_AlphaTest.cpp167 nn::math::Matrix34 mv, rot; in DrawFrame() local
173 nn::math::MTX34LookAt(&mv, &camPos, &camUp, &target); in DrawFrame()
189 nn::math::MTX34MultTranslate(&mvtmp, &mv, &trans); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LineSimple/
DLineSimple.cpp107 nn::math::Matrix44 mv(eye); in DrawFrame() local
108 … glUniformMatrix4fv(glGetUniformLocation(s_PgID, "uModelView"), 1, GL_TRUE, static_cast<f32*>(mv)); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/PartsysGas/
DPartsysGas.cpp415 nn::math::Matrix34 mv; in DrawFrame() local
419 nn::math::MTX34LookAt(&mv, &camPos, &camUp, &target); in DrawFrame()
442 nn::math::MTX34Mult(&mv_rot, &mv, &tmp); in DrawFrame()
462 m = nn::math::Matrix44(mv); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/font/ResFont/
Dmain.cpp298 nn::math::MTX34 mv; in SetupTextCamera() local
299 nn::math::MTX34Identity(&mv); in SetupTextCamera()
300 pDrawer->SetViewMtxForText(mv); in SetupTextCamera()
/CTR-SDK-4.2.7-SampleDemos/font/PackedFont/
Dmain.cpp379 nn::math::MTX34 mv; in SetupTextCamera() local
380 nn::math::MTX34Identity(&mv); in SetupTextCamera()
381 textWriterResource.SetViewMtx(mv); in SetupTextCamera()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/GasCessna/
DGasCessna.cpp366 nn::math::Matrix34 mv; in DrawFrame() local
370 nn::math::MTX34LookAt(&mv, &camPos, &camUp, &target); in DrawFrame()
382 nn::math::MTX34Mult(&mv_rot, &mv, &tmp); in DrawFrame()
410 nn::math::MTX34MultTranslate(&mv_tr, &mv, &trans2); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/font/ArchiveFont/
Dmain.cpp433 nn::math::MTX34 mv; in SetupTextCamera() local
434 nn::math::MTX34Identity(&mv); in SetupTextCamera()
435 pDrawer->SetViewMtxForText(mv); in SetupTextCamera()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/ClipEquation/
DClipEquation.cpp140 nn::math::Matrix44 mv(eye); in DrawFrame() local
141 … glUniformMatrix4fv(glGetUniformLocation(s_PgID, "uModelView"), 1, GL_TRUE, static_cast<f32*>(mv)); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/Fog/
DFog.cpp429 nn::math::Matrix44 mv(eye); in Initialize() local
430 … glUniformMatrix4fv(glGetUniformLocation(s_PgID, "uModelView"), 1, GL_TRUE, static_cast<f32*>(mv)); in Initialize()
/CTR-SDK-4.2.7-SampleDemos/camera/Stereo/
Dmain.cpp1893 nn::math::MTX44 mv(tmp); in DrawCameraImage() local
1895 nn::math::MTX44Transpose(&mv, &mv); in DrawCameraImage()
1896 …formMatrix4fv(glGetUniformLocation(s_ProgramID, "uModelView"), 1, GL_FALSE, static_cast<f32*>(mv)); in DrawCameraImage()
/CTR-SDK-4.2.7-SampleDemos/gx/Api/TextureCombiner/
Dgx_TextureCombiner.cpp211 nn::math::Matrix44 mv(eye); in DrawDisplay0() local
212 …iformMatrix4fv(glGetUniformLocation(s_ProgramID, "uModelView"), 1, GL_TRUE, static_cast<f32*>(mv)); in DrawDisplay0()