Home
last modified time | relevance | path

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

/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingSpotAtte/
DLightingSpotAtte.cpp203 …nn::math::Vector4 lpos_dir(nn::math::VEC4Dot(&mv0, &lpos0_dir), nn::math::VEC4Dot(&mv1, &lpos0_dir… in DrawFrame() local
205 lpos_dir.Normalize(); in DrawFrame()
206 …Location(s_ProgramID, "dmp_FragmentLightSource[0].spotDirection"), 1, static_cast<f32*>(lpos_dir)); in DrawFrame()
218lpos_dir = nn::math::Vector4(nn::math::VEC4Dot(&mv0, &lpos1_dir), nn::math::VEC4Dot(&mv1, &lpos1_d… in DrawFrame()
220 lpos_dir.Normalize(); in DrawFrame()
221 …Location(s_ProgramID, "dmp_FragmentLightSource[1].spotDirection"), 1, static_cast<f32*>(lpos_dir)); in DrawFrame()
233lpos_dir = nn::math::Vector4(nn::math::VEC4Dot(&mv0, &lpos2_dir), nn::math::VEC4Dot(&mv1, &lpos2_d… in DrawFrame()
235 lpos_dir.Normalize(); in DrawFrame()
236 …Location(s_ProgramID, "dmp_FragmentLightSource[2].spotDirection"), 1, static_cast<f32*>(lpos_dir)); in DrawFrame()