Searched refs:resProjectionUpdater (Results 1 – 9 of 9) sorted by relevance
91 nw::gfx::ResPerspectiveProjectionUpdater resProjectionUpdater = in CreateCamera() local94 resProjectionUpdater.SetNear(nearClip); in CreateCamera()95 resProjectionUpdater.SetFar(farClip); in CreateCamera()96 resProjectionUpdater.SetFovy(fovyRadian); in CreateCamera()145 nw::gfx::ResPerspectiveProjectionUpdater resProjectionUpdater = in CreateAimCamera() local148 resProjectionUpdater.SetNear(nearClip); in CreateAimCamera()149 resProjectionUpdater.SetFar(farClip); in CreateAimCamera()150 resProjectionUpdater.SetFovy(fovyRadian); in CreateAimCamera()200 nw::gfx::ResFrustumProjectionUpdater resProjectionUpdater = in CreateFrustumCamera() local203 resProjectionUpdater.SetNear(nearClip); in CreateFrustumCamera()[all …]
224 ResCameraProjectionUpdater resProjectionUpdater = in Update() local226 NW_ASSERT(resProjectionUpdater.IsValid()); in Update()227 f32 near = resProjectionUpdater.GetNear(); in Update()228 f32 far = resProjectionUpdater.GetFar(); in Update()
328 ResCameraProjectionUpdater resProjectionUpdater = resCamera.GetProjectionUpdater(); in Create() local329 NW_ASSERT(resProjectionUpdater.IsValid()); in Create()334 ResPerspectiveProjectionUpdater resPersProjection(resProjectionUpdater.ptr()); in Create()342 ResFrustumProjectionUpdater resFrustumProjection(resProjectionUpdater.ptr()); in Create()349 ResOrthoProjectionUpdater resOrthoProjection(resProjectionUpdater.ptr()); in Create()
701 …nw::gfx::ResCameraProjectionUpdater resProjectionUpdater = currentCamera->GetProjectionUpdater()->… in DemoScene() local702 NW_ASSERT(resProjectionUpdater.IsValid()); in DemoScene()705 …el = s_Demo->GetStereoLevel() * (resProjectionUpdater.GetFar() - resProjectionUpdater.GetNear()) +… in DemoScene()
114 nw::gfx::ResPerspectiveProjectionUpdater resProjectionUpdater = in SmCamera() local117 resProjectionUpdater.SetNear(0.1f); in SmCamera()118 resProjectionUpdater.SetFar(1000.0f); in SmCamera()119 resProjectionUpdater.SetFovy(0.821342f);//NW_MATH_DEG_TO_RAD(60.0f)); in SmCamera()
370 nw::gfx::ResPerspectiveProjectionUpdater resProjectionUpdater = in BuildCameras() local373 resProjectionUpdater.SetNear(s_NearPlane); in BuildCameras()374 resProjectionUpdater.SetFar(1000.0f); in BuildCameras()375 resProjectionUpdater.SetFovy(NW_MATH_DEG_TO_RAD(37.8f)); in BuildCameras()377 resProjectionUpdater.SetAspectRatio( in BuildCameras()
411 nw::gfx::ResPerspectiveProjectionUpdater resProjectionUpdater = in BuildCameras() local414 resProjectionUpdater.SetNear(s_NearPlane); in BuildCameras()415 resProjectionUpdater.SetFar(1000.0f); in BuildCameras()416 resProjectionUpdater.SetFovy(NW_MATH_DEG_TO_RAD(37.8f)); in BuildCameras()418 resProjectionUpdater.SetAspectRatio( in BuildCameras()
393 nw::gfx::ResPerspectiveProjectionUpdater resProjectionUpdater = in BuildCameras() local396 resProjectionUpdater.SetNear(s_NearPlane); in BuildCameras()397 resProjectionUpdater.SetFar(1000.0f); in BuildCameras()398 resProjectionUpdater.SetFovy(NW_MATH_DEG_TO_RAD(37.8f)); in BuildCameras()400 resProjectionUpdater.SetAspectRatio( in BuildCameras()
757 nw::gfx::ResCameraProjectionUpdater resProjectionUpdater = in UpdateScene() local760 int near = resProjectionUpdater.GetNear(); in UpdateScene()