Home
last modified time | relevance | path

Searched refs:fovX (Results 1 – 25 of 93) sorted by relevance

1234

/dports/games/libretro-scummvm/scummvm-7b1e929/engines/bladerunner/
H A Dview.cpp41 float fovX = stream->readFloatLE(); in readVqa() local
43 setFovX(fovX); in readVqa()
50 void View::setFovX(float fovX) { in setFovX() argument
51 _fovX = fovX; in setFovX()
H A Dview.h48 void setFovX(float fovX);
/dports/games/scummvm/scummvm-2.5.1/engines/bladerunner/
H A Dview.cpp41 float fovX = stream->readFloatLE(); in readVqa() local
43 setFovX(fovX); in readVqa()
50 void View::setFovX(float fovX) { in setFovX() argument
51 _fovX = fovX; in setFovX()
H A Dview.h48 void setFovX(float fovX);
/dports/games/egl/egl-0.3.1_9/shared/
H A Dmathlib.c341 float Q_CalcFovY (float fovX, float width, float height) in Q_CalcFovY() argument
343 if (fovX < 1 || fovX > 179) in Q_CalcFovY()
344 Com_Printf (PRNT_ERROR, "Bad fov: %f\n", fovX); in Q_CalcFovY()
346 return (float)(atan (height / (width / tan (fovX / 360.0f * M_PI)))) * ((180.0f / M_PI) * 2); in Q_CalcFovY()
/dports/games/openspades/openspades-0.1.3/Sources/Draw/
H A DSWRenderer.cpp195 float r = near * tanf(sceneDef.fovX * .5f); in BuildProjectionMatrix()
246 float xCos = cosf(sceneDef.fovX * .5f); in BuildFrustrum()
247 float xSin = sinf(sceneDef.fovX * .5f); in BuildFrustrum()
265 float fovX = tanf(sceneDef.fovX * 0.5f); in ApplyDynamicLight() local
268 float dvx = -fovX * 2.f / static_cast<float>(fw); in ApplyDynamicLight()
306 float vx = fovX + dvx * minX; in ApplyDynamicLight()
377 float fovX = tanf(sceneDef.fovX * 0.5f); in ApplyFog() local
380 float dvx = -fovX * 2.f / static_cast<float>(fw / 4); in ApplyFog()
406 float vx = fovX; in ApplyFog()
458 float fovX = tanf(sceneDef.fovX * 0.5f); in ApplyFog() local
[all …]
H A DSWMapRenderer.cpp747 float fovX = tanf(sceneDef.fovX * 0.5f); in RenderFinal() local
757 Vector3 v1 = front - right * fovX + down * fovY; in RenderFinal()
759 Vector3 deltaRight = right * (fovX * 2.f / static_cast<float>(fw) * under); in RenderFinal()
761 Vector2 screenPos = {-fovX, -fovY}; in RenderFinal()
762 float deltaScreenPosRight = fovX * 2.f / static_cast<float>(fw); in RenderFinal()
1058 float fovX = tanf(def.fovX * 0.5f); in RenderInner() local
1060 float fovDiag = sqrtf(fovX * fovX + fovY * fovY); in RenderInner()
H A DGLCameraBlurFilter.cpp89 axes[0] /= std::tan(def.fovX * 0.5f); in Filter()
120 movePixels = tanf(movePixels) / tanf(def.fovX * .5f); in Filter()
H A DGLLensFilter.cpp57 lensFov.SetValue(tanf(def.fovX * .5f), tanf(def.fovY * .5f)); in Filter()
/dports/astro/stellarium/stellarium-0.21.3/plugins/Oculars/src/
H A DCCD.cpp246 …double fovX = RADIAN_TO_DEGREES * 2 * qAtan(this->prismWidth() /(2.0 * telescope->focalLength() * … in getOAGActualFOVx() local
247 return fovX; in getOAGActualFOVx()
253 …double fovX = RADIAN_TO_DEGREES * 2 * qAtan(this->chipWidth() /(2.0 * telescope->focalLength() * l… in getActualFOVx() local
254 return fovX; in getActualFOVx()
H A DOculars.cpp1581 const double fovX = ccd->getActualFOVx(telescope, lens); in paintCCDBounds() local
1768 .arg(QString::number(fovX*3600*ccd->binningX()/ccd->resolutionX(), 'f', 4)) in paintCCDBounds()
2123 double fovX = 0.0; in paintText() local
2127 fovX = ccd->getActualFOVx(telescope, lens); in paintText()
2133 ccdInfoLabel = QString(q_("Dimensions: %1")).arg(getDimensionsString(fovX, fovY)); in paintText()
2905 QString Oculars::getDimensionsString(double fovX, double fovY) const in getDimensionsString() argument
2910 if (fovX >= 1.0) in getDimensionsString()
2912 int degrees = static_cast<int>(fovX); in getDimensionsString()
2913 double minutes = (fovX - degrees) * 60.; in getDimensionsString()
2918 double minutes = fovX * 60.; in getDimensionsString()
[all …]
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/OgreMain/src/
H A DOgreDistanceLodStrategy.cpp120 Radian fovX = fovY * (viewportWidth / viewportHeight); in setReferenceView() local
126 mReferenceViewValue = viewportArea * Math::Tan(fovX * 0.5f) * Math::Tan(fovY * 0.5f); in setReferenceView()
/dports/graphics/ogre3d/ogre-1.11.6/OgreMain/src/
H A DOgreDistanceLodStrategy.cpp119 Radian fovX = fovY * (viewportWidth / viewportHeight); in setReferenceView() local
125 mReferenceViewValue = viewportArea * Math::Tan(fovX * 0.5f) * Math::Tan(fovY * 0.5f); in setReferenceView()
/dports/games/openspades/openspades-0.1.3/Sources/Client/
H A DClient_Scene.cpp182 def.fovX = atanf(tanf(def.fovY * .5f) * renderer->ScreenWidth() / in CreateSceneDefinition()
250 def.fovX = atanf(tanf(def.fovY * .5f) * renderer->ScreenWidth() / in CreateSceneDefinition()
348 def.fovX = atanf(tanf(def.fovY * .5f) * renderer->ScreenWidth() / in CreateSceneDefinition()
373 def.fovX = atanf(tanf(def.fovY * .5f) * renderer->ScreenWidth() / in CreateSceneDefinition()
424 def.fovX = atanf(tanf(def.fovX * .5f) * scale) * 2.f; in CreateSceneDefinition()
470 def.fovX = in CreateSceneDefinition()
814 float tanX = tanf(lastSceneDef.fovX * .5f); in Project()
H A DSceneDefinition.h29 float fovX, fovY; member
/dports/games/egl/egl-0.3.1_9/cgame/
H A Dcg_view.c455 cg.refDef.fovX = ops->fov + cg.lerpFrac * (ps->fov - ops->fov); in V_CalcViewValues()
569 cg.refDef.fovY = Q_CalcFovY (cg.refDef.fovX, (float)cg.refDef.width, (float)cg.refDef.height); in V_RenderView()
635 refDef.fovX = 90; in V_Benchmark_f()
636 refDef.fovY = Q_CalcFovY (refDef.fovX, refDef.width, refDef.height); in V_Benchmark_f()
697 refDef.fovX = 90; in V_TimeRefresh_f()
698 refDef.fovY = Q_CalcFovY (refDef.fovX, refDef.width, refDef.height); in V_TimeRefresh_f()
H A Dcg_draw.c57 refDef.fovX = 30; in CG_DrawModel()
/dports/games/egl/egl-0.3.1_9/renderer/
H A Drf_cull.c45 …ctor (ri.scn.viewFrustum[1].normal, ri.def.viewAxis[2], ri.def.viewAxis[0], -(90-ri.def.fovX / 2)); in R_SetupFrustum()
46 …dVector (ri.scn.viewFrustum[2].normal, ri.def.viewAxis[2], ri.def.viewAxis[0], 90-ri.def.fovX / 2); in R_SetupFrustum()
/dports/games/doomsday/doomsday-2.3.1/doomsday/sdk/libappfw/include/de/vr/
H A Doculusrift.h148 float fovX() const; // in degrees
/dports/games/pioneer/pioneer-20210723/src/
H A Dmatrix4x4.h241 static matrix4x4 PerspectiveMatrix(T fovR, T aspect, T znear, T zfar, bool fovX = false)
246 const T x = fovX ? e : e / aspect;
247 const T y = fovX ? e / aspect : e;
273 static matrix4x4 InfinitePerspectiveMatrix(T fovR, T aspect, T znear, bool fovX = false)
278 const T x = fovX ? e : e / aspect;
279 const T y = fovX ? e / aspect : e;
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/client/src/render/
H A Dvr.cpp186 Con_SetFloat("rend-vr-rift-fovx", ovr.fovX());
/dports/games/0ad/0ad-0.0.23b-alpha/libraries/source/fcollada/include/FCDocument/
H A DFCDCamera.h136 void SetFovX(float fovX);
/dports/games/0ad/0ad-0.0.23b-alpha/libraries/source/fcollada/src/FCollada/FCDocument/
H A DFCDCamera.h136 void SetFovX(float fovX);
/dports/math/vtk9/VTK-9.1.0/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/rendering/raytracing/
H A DCamera.cxx53 vtkm::Float32 fovX, in PixelData() argument
71 vtkm::Float32 thx = tanf((fovX * vtkm::Pi_180f()) * .5f); in PixelData()
168 vtkm::Float32 fovX, in PerspectiveRayGenJitter() argument
177 vtkm::Float32 thx = tanf((fovX * 3.1415926f / 180.f) * .5f); in PerspectiveRayGenJitter()
342 vtkm::Float32 fovX, in PerspectiveRayGen() argument
356 vtkm::Float32 thx = tanf((fovX * vtkm::Pi_180f()) * .5f); in PerspectiveRayGen()
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/rgbd/src/
H A Ddynafu.cpp194 float fovX = params.frameSize.width/params.intr(0, 0); in drawScene() local
204 glFrustum(-nearZ*fovX/2, nearZ*fovX/2, -nearZ*fovY/2, nearZ*fovY/2, nearZ, farZ); in drawScene()

1234