Home
last modified time | relevance | path

Searched refs:lpos (Results 1 – 10 of 10) sorted by relevance

/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingSpotAtte/
DLightingSpotAtte.cpp197 …nn::math::Vector4 lpos(VEC4Dot(&mv0, &lpos0), VEC4Dot(&mv1, &lpos0), VEC4Dot(&mv2, &lpos0), lpos0.… in DrawFrame() local
198 …etUniformLocation(s_ProgramID, "dmp_FragmentLightSource[0].position"), 1, static_cast<f32*>(lpos)); in DrawFrame()
211 lpos = nn::math::Vector4(nn::math::VEC4Dot(&mv0, &lpos1), nn::math::VEC4Dot(&mv1, &lpos1), in DrawFrame()
213 …etUniformLocation(s_ProgramID, "dmp_FragmentLightSource[1].position"), 1, static_cast<f32*>(lpos)); in DrawFrame()
226 lpos = nn::math::Vector4(nn::math::VEC4Dot(&mv0, &lpos2), nn::math::VEC4Dot(&mv1, &lpos2), in DrawFrame()
228 …etUniformLocation(s_ProgramID, "dmp_FragmentLightSource[2].position"), 1, static_cast<f32*>(lpos)); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingAniso/
DLightingAniso.cpp241 …nn::math::Vector4 lpos(nn::math::VEC4Dot(&mv0, &lpos0), nn::math::VEC4Dot(&mv1, &lpos0), nn::math:… in SetRenderState() local
243 …etUniformLocation(s_ProgramID, "dmp_FragmentLightSource[0].position"), 1, static_cast<f32*>(lpos)); in SetRenderState()
245lpos = nn::math::Vector4(nn::math::VEC4Dot(&mv0, &lpos1), nn::math::VEC4Dot(&mv1, &lpos1), nn::mat… in SetRenderState()
246 …etUniformLocation(s_ProgramID, "dmp_FragmentLightSource[1].position"), 1, static_cast<f32*>(lpos)); in SetRenderState()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingDistanceAtte/
DLightingDistanceAtte.cpp179 …nn::math::Vector4 lpos(VEC4Dot(&mv0, &lpos0), VEC4Dot(&mv1, &lpos0), VEC4Dot(&mv2, &lpos0), lpos0.… in DrawFrame() local
180 …etUniformLocation(s_ProgramID, "dmp_FragmentLightSource[0].position"), 1, static_cast<f32*>(lpos)); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingVertex/
DLightingVertex.cpp211 GLfloat lpos[] = {3.f, 3.f, 0.f, 1.f}; /* light position */ in DrawFrame() local
236 nn::math::Vector4 p(lpos); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingToonApple/
DLightingToonApple.cpp331 …nn::math::Vector4 lpos(nn::math::VEC4Dot(&mv0, &lpos0), nn::math::VEC4Dot(&mv1, &lpos0), nn::math:… in DrawFrame() local
332 …etUniformLocation(s_ProgramID, "dmp_FragmentLightSource[0].position"), 1, static_cast<f32*>(lpos)); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingFresnel/
DLightingFresnel.cpp282 …nn::math::Vector4 lpos(nn::math::VEC4Dot(&mv0, &lpos0), nn::math::VEC4Dot(&mv1, &lpos0), nn::math:… in DrawFrame() local
283 …iformLocation ( s_ProgramID, "dmp_FragmentLightSource[0].position" ), 1, static_cast<f32*>(lpos)) ; in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingMicrofacet/
DLightingMicrofacet.cpp381 …nn::math::Vector4 lpos(nn::math::VEC4Dot(&mv0, &lpos0), nn::math::VEC4Dot(&mv1, &lpos0), nn::math:… in DrawFrame() local
382 …etUniformLocation(s_ProgramID, "dmp_FragmentLightSource[0].position"), 1, static_cast<f32*>(lpos)); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/demo2/
Dgraphics.cpp290 GLfloat lpos[] = {3.f, 3.f, 0.f, 1.f}; /* Light position */ in DrawObjects() local
296 nn::math::Vector4 p(lpos); in DrawObjects()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingSss/
DLightingSss.cpp388 …nn::math::Vector4 lpos(nn::math::VEC4Dot(&mv0, &lpos0), nn::math::VEC4Dot(&mv1, &lpos0), nn::math:… in DrawFrame() local
390 …etUniformLocation(s_ProgramID, "dmp_FragmentLightSource[0].position"), 1, static_cast<f32*>(lpos)); in DrawFrame()
/CTR-SDK-4.2.7-SampleDemos/gx/Api/CommandBufferJump/
DCommandBufferJump.cpp413 …nn::math::Vector4 lpos(nn::math::VEC4Dot(&mv0, &lpos0), nn::math::VEC4Dot(&mv1, &lpos0), nn::math:… in CreateCommand() local
414 …etUniformLocation(s_ProgramID, "dmp_FragmentLightSource[0].position"), 1, static_cast<f32*>(lpos)); in CreateCommand()