Searched refs:lpos2 (Results 1 – 3 of 3) sorted by relevance
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingSpotAtte/ |
| D | LightingSpotAtte.cpp | 224 nn::math::Vector4 lpos2(0.f, 1.f, 0.f, 1.f); in DrawFrame() local 225 lpos2.y = 3.f * cosf(3.f * f / 60.f) + 4.f; in DrawFrame() 226 lpos = nn::math::Vector4(nn::math::VEC4Dot(&mv0, &lpos2), nn::math::VEC4Dot(&mv1, &lpos2), in DrawFrame() 227 nn::math::VEC4Dot(&mv2, &lpos2), lpos2.w); in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingVertex/ |
| D | LightingVertex.cpp | 240 …nn::math::Vector4 lpos2( nn::math::VEC4Dot(&mvv0, &p), nn::math::VEC4Dot(&mvv1, &p), nn::math::VEC… in DrawFrame() local 242 glUniform4fv(glGetUniformLocation(s_PgID, "uLightPos"), 1, static_cast<f32*>(lpos2)); in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/demo2/ |
| D | graphics.cpp | 300 nn::math::Vector4 lpos2( VEC4Dot(&mvv0, &p), VEC4Dot(&mvv1, &p), VEC4Dot(&mvv2, &p), 1.f); in DrawObjects() local 302 glUniform4fv(glGetUniformLocation(s_PgID, "uLightPos"), 1, static_cast<f32*>(lpos2)); in DrawObjects()
|