Searched refs:resProjectionUpdater (Results 1 – 9 of 9) sorted by relevance
113 nw::gfx::ResPerspectiveProjectionUpdater resProjectionUpdater = in CreateCamera() local116 resProjectionUpdater.SetNear(nearClip); in CreateCamera()117 resProjectionUpdater.SetFar(farClip); in CreateCamera()118 resProjectionUpdater.SetFovy(fovyRadian); in CreateCamera()167 nw::gfx::ResPerspectiveProjectionUpdater resProjectionUpdater = in CreateAimCamera() local170 resProjectionUpdater.SetNear(nearClip); in CreateAimCamera()171 resProjectionUpdater.SetFar(farClip); in CreateAimCamera()172 resProjectionUpdater.SetFovy(fovyRadian); in CreateAimCamera()222 nw::gfx::ResFrustumProjectionUpdater resProjectionUpdater = in CreateFrustumCamera() local225 resProjectionUpdater.SetNear(nearClip); in CreateFrustumCamera()[all …]
706 …nw::gfx::ResCameraProjectionUpdater resProjectionUpdater = currentCamera->GetProjectionUpdater()->… in DemoScene() local707 NW_ASSERT(resProjectionUpdater.IsValid()); in DemoScene()710 …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()
371 nw::gfx::ResPerspectiveProjectionUpdater resProjectionUpdater = in BuildCameras() local374 resProjectionUpdater.SetNear(s_NearPlane); in BuildCameras()375 resProjectionUpdater.SetFar(1000.0f); in BuildCameras()376 resProjectionUpdater.SetFovy(NW_MATH_DEG_TO_RAD(37.8f)); in BuildCameras()378 resProjectionUpdater.SetAspectRatio( in BuildCameras()
259 ResCameraProjectionUpdater resProjectionUpdater = in Update() local261 NW_ASSERT(resProjectionUpdater.IsValid()); in Update()262 f32 near = resProjectionUpdater.GetNear(); in Update()263 f32 far = resProjectionUpdater.GetFar(); in Update()
434 ResCameraProjectionUpdater resProjectionUpdater = resCamera.GetProjectionUpdater(); in Create() local435 NW_ASSERT(resProjectionUpdater.IsValid()); in Create()440 ResPerspectiveProjectionUpdater resPersProjection(resProjectionUpdater.ptr()); in Create()448 ResFrustumProjectionUpdater resFrustumProjection(resProjectionUpdater.ptr()); in Create()455 ResOrthoProjectionUpdater resOrthoProjection(resProjectionUpdater.ptr()); in Create()
412 nw::gfx::ResPerspectiveProjectionUpdater resProjectionUpdater = in BuildCameras() local415 resProjectionUpdater.SetNear(s_NearPlane); in BuildCameras()416 resProjectionUpdater.SetFar(1000.0f); in BuildCameras()417 resProjectionUpdater.SetFovy(NW_MATH_DEG_TO_RAD(37.8f)); in BuildCameras()419 resProjectionUpdater.SetAspectRatio( in BuildCameras()
394 nw::gfx::ResPerspectiveProjectionUpdater resProjectionUpdater = in BuildCameras() local397 resProjectionUpdater.SetNear(s_NearPlane); in BuildCameras()398 resProjectionUpdater.SetFar(1000.0f); in BuildCameras()399 resProjectionUpdater.SetFovy(NW_MATH_DEG_TO_RAD(37.8f)); in BuildCameras()401 resProjectionUpdater.SetAspectRatio( in BuildCameras()
843 nw::gfx::ResCameraProjectionUpdater resProjectionUpdater = in UpdateScene() local846 int near = resProjectionUpdater.GetNear(); in UpdateScene()