Home
last modified time | relevance | path

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

/NW4C-1.2.23/demos/gfx/ProjectionShadowDemo/sources/
DProjectionShadowDemo.cpp325 nw::gfx::FragmentLight* s_SpotLight = NULL; variable
712 s_SpotLight = nw::ut::DynamicCast<nw::gfx::FragmentLight*>(node); in BuildResources()
713 s_LightRoot->AttachChild(s_SpotLight); in BuildResources()
877 translate.x = s_SpotLight->WorldMatrix().m[0][3]; in UpdateScene()
878 translate.y = s_SpotLight->WorldMatrix().m[1][3]; in UpdateScene()
879 translate.z = s_SpotLight->WorldMatrix().m[2][3]; in UpdateScene()
885 const nw::math::VEC3& direction = s_SpotLight->Direction(); in UpdateScene()
/NW4C-1.2.23/demos/gfx/ShadowMapDemo/sources/
DShadowMapDemo.cpp327 nw::gfx::FragmentLight* s_SpotLight = NULL; variable
775 s_SpotLight = nw::ut::DynamicCast<nw::gfx::FragmentLight*>(node); in BuildResources()
776 s_LightRoot->AttachChild(s_SpotLight); in BuildResources()
947 translate.x = s_SpotLight->WorldMatrix().m[0][3]; in UpdateScene()
948 translate.y = s_SpotLight->WorldMatrix().m[1][3]; in UpdateScene()
949 translate.z = s_SpotLight->WorldMatrix().m[2][3]; in UpdateScene()
955 const nw::math::VEC3& direction = s_SpotLight->Direction(); in UpdateScene()