Home
last modified time | relevance | path

Searched refs:zFar (Results 1 – 25 of 1915) sorted by relevance

12345678910>>...77

/dports/math/glm/glm-0.9.9.8/glm/ext/
H A Dmatrix_clip_space.inl37 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
63 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
242 Result[2][2] = zFar / (zNear - zFar);
244 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
274 Result[2][2] = zFar / (zFar - zNear);
276 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
290 Result[2][2] = (zFar + zNear) / (zFar - zNear);
365 Result[2][2] = zFar / (zNear - zFar);
367 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
405 Result[2][2] = zFar / (zFar - zNear);
[all …]
/dports/devel/upp/upp/uppsrc/plugin/glm/ext/
H A Dmatrix_clip_space.inl37 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
63 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
232 Result[2][2] = zFar / (zNear - zFar);
234 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
264 Result[2][2] = zFar / (zFar - zNear);
266 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
280 Result[2][2] = (zFar + zNear) / (zFar - zNear);
350 Result[2][2] = zFar / (zNear - zFar);
352 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
390 Result[2][2] = zFar / (zFar - zNear);
[all …]
/dports/games/warzone2100/warzone2100/3rdparty/glm/glm/ext/
H A Dmatrix_clip_space.inl37 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
63 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
242 Result[2][2] = zFar / (zNear - zFar);
244 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
274 Result[2][2] = zFar / (zFar - zNear);
276 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
290 Result[2][2] = (zFar + zNear) / (zFar - zNear);
365 Result[2][2] = zFar / (zNear - zFar);
367 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
405 Result[2][2] = zFar / (zFar - zNear);
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/freestyle/intern/scene_graph/
H A DNodeCamera.cpp89 double left, double right, double bottom, double top, double zNear, double zFar) in NodeOrthographicCamera() argument
96 zFar_(zFar) in NodeOrthographicCamera()
104 projection_matrix_[10] = -2.0 / (zFar - zNear); in NodeOrthographicCamera()
105 projection_matrix_[11] = -(zFar + zNear) / (zFar - zNear); in NodeOrthographicCamera()
123 NodePerspectiveCamera::NodePerspectiveCamera(double fovy, double aspect, double zNear, double zFar) in NodePerspectiveCamera() argument
132 projection_matrix_[10] = (zNear + zFar) / (zNear - zFar); in NodePerspectiveCamera()
133 projection_matrix_[11] = (2.0 * zNear * zFar) / (zNear - zFar); in NodePerspectiveCamera()
139 double left, double right, double bottom, double top, double zNear, double zFar) in NodePerspectiveCamera() argument
148 projection_matrix_[10] = -(zFar + zNear) / (zFar - zNear); in NodePerspectiveCamera()
149 projection_matrix_[11] = -(2.0 * zFar * zNear) / (zFar - zNear); in NodePerspectiveCamera()
/dports/graphics/libprojectm/projectm-3.1.12/vendor/glm/gtc/
H A Dmatrix_transform.inl132 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
158 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
336 Result[2][2] = zFar / (zNear - zFar);
338 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
368 Result[2][2] = zFar / (zFar - zNear);
370 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
384 Result[2][2] = (zFar + zNear) / (zFar - zNear);
458 Result[2][2] = zFar / (zNear - zFar);
460 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
498 Result[2][2] = zFar / (zFar - zNear);
[all …]
/dports/emulators/mess/mame-mame0226/3rdparty/glm/glm/gtc/
H A Dmatrix_transform.inl133 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
158 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
270 Result[2][2] = zFar / (zNear - zFar);
271 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
293 Result[2][2] = zFar / (zFar - zNear);
294 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
296 Result[2][2] = (zFar + zNear) / (zFar - zNear);
330 Result[2][2] = zFar / (zNear - zFar);
331 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
357 Result[2][2] = zFar / (zFar - zNear);
[all …]
/dports/audio/faust/faust-2.37.3/architecture/smartKeyboard/android/app/oboe/samples/RhythmGame/third_party/glm/gtc/
H A Dmatrix_transform.inl133 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
158 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
270 Result[2][2] = zFar / (zNear - zFar);
271 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
293 Result[2][2] = zFar / (zFar - zNear);
294 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
296 Result[2][2] = (zFar + zNear) / (zFar - zNear);
330 Result[2][2] = zFar / (zNear - zFar);
331 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
357 Result[2][2] = zFar / (zFar - zNear);
[all …]
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/libraries/win32/mingw32/include/glm/gtc/
H A Dmatrix_transform.inl133 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
158 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
270 Result[2][2] = zFar / (zNear - zFar);
271 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
293 Result[2][2] = zFar / (zFar - zNear);
294 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
296 Result[2][2] = (zFar + zNear) / (zFar - zNear);
330 Result[2][2] = zFar / (zNear - zFar);
331 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
357 Result[2][2] = zFar / (zFar - zNear);
[all …]
/dports/emulators/mame/mame-mame0226/3rdparty/glm/glm/gtc/
H A Dmatrix_transform.inl133 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
158 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
270 Result[2][2] = zFar / (zNear - zFar);
271 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
293 Result[2][2] = zFar / (zFar - zNear);
294 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
296 Result[2][2] = (zFar + zNear) / (zFar - zNear);
330 Result[2][2] = zFar / (zNear - zFar);
331 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
357 Result[2][2] = zFar / (zFar - zNear);
[all …]
/dports/graphics/nanort/nanort-b1feea8/examples/common/glm/glm/gtc/
H A Dmatrix_transform.inl133 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
158 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
270 Result[2][2] = zFar / (zNear - zFar);
271 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
293 Result[2][2] = zFar / (zFar - zNear);
294 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
296 Result[2][2] = (zFar + zNear) / (zFar - zNear);
330 Result[2][2] = zFar / (zNear - zFar);
331 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
357 Result[2][2] = zFar / (zFar - zNear);
[all …]
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/general/
H A Dfog-modes.c44 float zNear = 0.0, zFar = 1.0; in piglit_display() local
53 glOrtho(0, 1, 0, 1, -zNear, -zFar); in piglit_display()
63 glFogf(GL_FOG_END, zFar); in piglit_display()
78 float z = zNear + (zFar - zNear) * i / 5.0; in piglit_display()
88 float z = zNear + (zFar - zNear) * i / 5.0; in piglit_display()
94 f = (zFar - z) / (zFar - zNear); in piglit_display()
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_experimental/filter_ouput_optical_flow/
H A DDominancyClassifier.cpp136 float zNear, zFar; in updateDepthRange() local
141 if( zFar > m_DepthMax ) in updateDepthRange()
142 m_DepthMax = zFar; in updateDepthRange()
155 float zNear, zFar; in projectiveTexMatrices() local
159 if( zFar < zNear ) in projectiveTexMatrices()
160 zFar = zNear + 1000.0f; in projectiveTexMatrices()
172 m_Proj[2][2] = (zNear+zFar) / (zNear-zFar); in projectiveTexMatrices()
173 m_Proj[3][2] = 2.0f*zNear*zFar / (zNear-zFar); in projectiveTexMatrices()
300 float zNear, zFar; in generateWeightsAndShadowMap() local
304 if( zFar < zNear ) in generateWeightsAndShadowMap()
[all …]
/dports/x11-toolkits/pangolin/Pangolin-0.6/src/display/
H A Dopengl_render_state.cpp418 P.m[2*4+2] = -(zFar +zNear) / (zFar - zNear); in ProjectionMatrixRUB_BottomLeft()
422 P.m[3*4+2] = -(2*zFar*zNear)/(zFar-zNear); in ProjectionMatrixRUB_BottomLeft()
452 P.m[3*4+2] = -(2*zFar*zNear)/(zFar-zNear); in ProjectionMatrixRUB_TopLeft()
479 P.m[2*4+2] = (zFar +zNear) / (zFar - zNear); in ProjectionMatrixRDF_TopLeft()
482 P.m[3*4+2] = (2*zFar*zNear)/(zNear - zFar); in ProjectionMatrixRDF_TopLeft()
508 P.m[2*4+2] = (zFar +zNear) / (zFar - zNear); in ProjectionMatrixRDF_TopRight()
511 P.m[3*4+2] = (2*zFar*zNear)/(zNear - zFar); in ProjectionMatrixRDF_TopRight()
537 P.m[2*4+2] = (zFar +zNear) / (zFar - zNear); in ProjectionMatrixRDF_BottomLeft()
540 P.m[3*4+2] = (2*zFar*zNear)/(zNear - zFar); in ProjectionMatrixRDF_BottomLeft()
566 P.m[2*4+2] = (zFar +zNear) / (zFar - zNear); in ProjectionMatrixRDF_BottomRight()
[all …]
/dports/science/py-avogadrolibs/avogadrolibs-1.94.0/avogadro/rendering/
H A Dcamera.cpp146 float zNear, float zFar) in calculatePerspective() argument
152 m_data->projection(2, 2) = (zNear + zFar) / (zNear - zFar); in calculatePerspective()
153 m_data->projection(2, 3) = (2.0f * zFar * zNear) / (zNear - zFar); in calculatePerspective()
158 void Camera::calculatePerspective(float fieldOfView, float zNear, float zFar) in calculatePerspective() argument
162 zNear, zFar); in calculatePerspective()
166 float top, float zNear, float zFar) in calculateOrthographic() argument
177 m_data->projection(2, 2) = -2.0f / (zFar - zNear); in calculateOrthographic()
178 m_data->projection(2, 3) = -(zFar + zNear) / (zFar - zNear); in calculateOrthographic()
/dports/science/avogadrolibs/avogadrolibs-1.94.0/avogadro/rendering/
H A Dcamera.cpp146 float zNear, float zFar) in calculatePerspective() argument
152 m_data->projection(2, 2) = (zNear + zFar) / (zNear - zFar); in calculatePerspective()
153 m_data->projection(2, 3) = (2.0f * zFar * zNear) / (zNear - zFar); in calculatePerspective()
158 void Camera::calculatePerspective(float fieldOfView, float zNear, float zFar) in calculatePerspective() argument
162 zNear, zFar); in calculatePerspective()
166 float top, float zNear, float zFar) in calculateOrthographic() argument
177 m_data->projection(2, 2) = -2.0f / (zFar - zNear); in calculateOrthographic()
178 m_data->projection(2, 3) = -(zFar + zNear) / (zFar - zNear); in calculateOrthographic()
/dports/games/scummvm/scummvm-2.5.1/math/
H A Dglmath.cpp52 Matrix4 makePerspectiveMatrix(double fovy, double aspect, double zNear, double zFar) { in makePerspectiveMatrix() argument
60 return makeFrustumMatrix(xmin, xmax, ymin, ymax, zNear, zFar); in makePerspectiveMatrix()
63 …akeFrustumMatrix(double left, double right, double bottom, double top, double zNear, double zFar) { in makeFrustumMatrix() argument
69 proj(2, 2) = -(zFar + zNear) / (zFar - zNear); in makeFrustumMatrix()
71 proj(3, 2) = -(2.0f * zFar * zNear) / (zFar - zNear); in makeFrustumMatrix()
/dports/games/residualvm/residualvm-0.3.1/math/
H A Dglmath.cpp52 Matrix4 makePerspectiveMatrix(double fovy, double aspect, double zNear, double zFar) { in makePerspectiveMatrix() argument
60 return makeFrustumMatrix(xmin, xmax, ymin, ymax, zNear, zFar); in makePerspectiveMatrix()
63 …akeFrustumMatrix(double left, double right, double bottom, double top, double zNear, double zFar) { in makeFrustumMatrix() argument
69 proj(2, 2) = -(zFar + zNear) / (zFar - zNear); in makeFrustumMatrix()
71 proj(3, 2) = -(2.0f * zFar * zNear) / (zFar - zNear); in makeFrustumMatrix()
/dports/games/egl/egl-0.3.1_9/renderer/
H A Dr_math.c62 return max (forwardClip - forwardDist + 256, ri.scn.zFar); in R_CalcZFar()
74 ri.scn.zFar = r_zFarAbs->intVal; in R_SetupProjectionMatrix()
78 ri.scn.zFar = 2048; in R_SetupProjectionMatrix()
80 ri.scn.zFar = r_zFarMin->intVal + R_CalcZFar (); in R_SetupProjectionMatrix()
104 m[10] = -(ri.scn.zFar + zNear) / (ri.scn.zFar - zNear); in R_SetupProjectionMatrix()
108 m[14] = -(2.0f * ri.scn.zFar * zNear) / (ri.scn.zFar - zNear); in R_SetupProjectionMatrix()
/dports/lang/fpc-source/fpc-3.2.2/tests/webtbs/
H A Dtw13596a.pp11 procedure gluPerspective(fovy, aspect, zNear, zFar: single); inline;
12 procedure gluPerspectivef32(fovy: longint; aspect, zNear, zFar: longint); inline;
31 procedure gluPerspectivef32(fovy: longint; aspect, zNear, zFar: longint); inline;
42 // glFrustumf32(xmin, xmax, ymin, ymax, zNear, zFar);
46 procedure gluPerspective(fovy, aspect, zNear, zFar: single); inline;
48 …ectivef32(trunc(fovy * LUT_SIZE / 360.0), floattof32(aspect), floattof32(zNear), floattof32(zFar));
/dports/graphics/jogamp-jogl/jogl/src/jogl/classes/com/jogamp/opengl/math/
H A DMatrix4.java139 …eft, final float right, final float bottom, final float top, final float zNear, final float zFar) { in makeOrtho() argument
140 multMatrix( FloatUtil.makeOrtho(mat4Tmp1, 0, true, left, right, bottom, top, zNear, zFar) ); in makeOrtho()
154 …ight, final float bottom, final float top, final float zNear, final float zFar) throws GLException… in makeFrustum() argument
155 … multMatrix( FloatUtil.makeFrustum(mat4Tmp1, 0, true, left, right, bottom, top, zNear, zFar) ); in makeFrustum()
166 …(final float fovy_rad, final float aspect, final float zNear, final float zFar) throws GLException… in makePerspective() argument
167 multMatrix( FloatUtil.makePerspective(mat4Tmp1, 0, true, fovy_rad, aspect, zNear, zFar) ); in makePerspective()
/dports/games/flightgear/flightgear-2020.3.11/utils/fgviewer/
H A DFrustum.hxx53 double zFar; in setMatrix() local
54 return matrix.getFrustum(_left, _right, _bottom, _top, _near, zFar); in setMatrix()
64 double zFar = depthRange[1]; in getMatrix() local
71 double a22 = (zNear + zFar)/(zNear - zFar); in getMatrix()
73 double a32 = 2*zNear*zFar/(zNear - zFar); in getMatrix()
/dports/astro/stellarium/stellarium-0.21.3/plugins/Scenery3d/src/
H A DFrustum.hpp54 void setCamInternals(float fov, float aspect, float zNear, float zFar) in setCamInternals() argument
59 this->zFar = zFar; in setCamInternals()
74 float zFar; member in Frustum
/dports/www/firefox-esr/firefox-91.8.0/gfx/vr/
H A DgfxVR.cpp18 Matrix4x4 VRFieldOfView::ConstructProjectionMatrix(float zNear, float zFar, in ConstructProjectionMatrix() argument
41 m[2 * 4 + 2] = zFar / (zNear - zFar) * -handednessScale; in ConstructProjectionMatrix()
42 m[3 * 4 + 2] = (zFar * zNear) / (zNear - zFar); in ConstructProjectionMatrix()
/dports/www/firefox/firefox-99.0/gfx/vr/
H A DgfxVR.cpp18 Matrix4x4 VRFieldOfView::ConstructProjectionMatrix(float zNear, float zFar, in ConstructProjectionMatrix() argument
41 m[2 * 4 + 2] = zFar / (zNear - zFar) * -handednessScale; in ConstructProjectionMatrix()
42 m[3 * 4 + 2] = (zFar * zNear) / (zNear - zFar); in ConstructProjectionMatrix()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/vr/
H A DgfxVR.cpp18 Matrix4x4 VRFieldOfView::ConstructProjectionMatrix(float zNear, float zFar, in ConstructProjectionMatrix() argument
41 m[2 * 4 + 2] = zFar / (zNear - zFar) * -handednessScale; in ConstructProjectionMatrix()
42 m[3 * 4 + 2] = (zFar * zNear) / (zNear - zFar); in ConstructProjectionMatrix()

12345678910>>...77