Home
last modified time | relevance | path

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

/NW4C-1.3.3/demos/gfx/ProjectionShadowDemo/sources/
DProjectionShadowDemo.cpp319 nw::gfx::FragmentLight* s_SpotLight = NULL; variable
708 s_SpotLight = nw::ut::DynamicCast<nw::gfx::FragmentLight*>(node); in BuildResources()
709 s_LightRoot->AttachChild(s_SpotLight); in BuildResources()
873 translate.x = s_SpotLight->WorldMatrix().m[0][3]; in UpdateScene()
874 translate.y = s_SpotLight->WorldMatrix().m[1][3]; in UpdateScene()
875 translate.z = s_SpotLight->WorldMatrix().m[2][3]; in UpdateScene()
881 const nw::math::VEC3& direction = s_SpotLight->Direction(); in UpdateScene()
/NW4C-1.3.3/demos/gfx/ShadowMapDemo/sources/
DShadowMapDemo.cpp321 nw::gfx::FragmentLight* s_SpotLight = NULL; variable
767 s_SpotLight = nw::ut::DynamicCast<nw::gfx::FragmentLight*>(node); in BuildResources()
768 s_LightRoot->AttachChild(s_SpotLight); in BuildResources()
939 translate.x = s_SpotLight->WorldMatrix().m[0][3]; in UpdateScene()
940 translate.y = s_SpotLight->WorldMatrix().m[1][3]; in UpdateScene()
941 translate.z = s_SpotLight->WorldMatrix().m[2][3]; in UpdateScene()
947 const nw::math::VEC3& direction = s_SpotLight->Direction(); in UpdateScene()