Home
last modified time | relevance | path

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

/NW4C-2.0.3/demos/gfx/ProjectionShadowDemo/sources/
DProjectionShadowDemo.cpp321 nw::gfx::FragmentLight* s_SpotLight = NULL; variable
710 s_SpotLight = nw::ut::DynamicCast<nw::gfx::FragmentLight*>(node); in BuildResources()
711 s_LightRoot->AttachChild(s_SpotLight); in BuildResources()
875 translate.x = s_SpotLight->WorldMatrix().m[0][3]; in UpdateScene()
876 translate.y = s_SpotLight->WorldMatrix().m[1][3]; in UpdateScene()
877 translate.z = s_SpotLight->WorldMatrix().m[2][3]; in UpdateScene()
883 const nw::math::VEC3& direction = s_SpotLight->Direction(); in UpdateScene()
/NW4C-2.0.3/demos/gfx/ShadowMapDemo/sources/
DShadowMapDemo.cpp323 nw::gfx::FragmentLight* s_SpotLight = NULL; variable
769 s_SpotLight = nw::ut::DynamicCast<nw::gfx::FragmentLight*>(node); in BuildResources()
770 s_LightRoot->AttachChild(s_SpotLight); in BuildResources()
941 translate.x = s_SpotLight->WorldMatrix().m[0][3]; in UpdateScene()
942 translate.y = s_SpotLight->WorldMatrix().m[1][3]; in UpdateScene()
943 translate.z = s_SpotLight->WorldMatrix().m[2][3]; in UpdateScene()
949 const nw::math::VEC3& direction = s_SpotLight->Direction(); in UpdateScene()