Home
last modified time | relevance | path

Searched refs:halfy (Results 1 – 25 of 44) sorted by relevance

12

/dports/graphics/geomview/geomview-1.9.5/src/lib/gprim/discgrp/
H A Ddgdraw.c46 float halfy, aspect, halfx; in DiscGrpStandardPreDraw() local
61 CamGet(_mgc->cam, CAM_HALFYFIELD, &halfy); in DiscGrpStandardPreDraw()
63 halfy = halfy * magic_scale; in DiscGrpStandardPreDraw()
64 halfx = aspect * halfy; in DiscGrpStandardPreDraw()
67 halfx = (halfx > halfy) ? halfx : halfy; in DiscGrpStandardPreDraw()
68 halfy = halfx; in DiscGrpStandardPreDraw()
76 INITPT(&discgrp->viewinfo.frustrum[2], 0, -1, halfy, 0) in DiscGrpStandardPreDraw()
77 INITPT(&discgrp->viewinfo.frustrum[3], 0, 1, halfy, 0) in DiscGrpStandardPreDraw()
/dports/graphics/blender/blender-2.91.0/source/blender/windowmanager/intern/
H A Dwm_stereo.c84 const float halfy = GLA_PIXEL_OFS / sizex; in wm_stereo3d_draw_sidebyside() local
90 immAttr2f(texcoord, halfx, halfy); in wm_stereo3d_draw_sidebyside()
93 immAttr2f(texcoord, 1.0f + halfx, halfy); in wm_stereo3d_draw_sidebyside()
96 immAttr2f(texcoord, 1.0f + halfx, 1.0f + halfy); in wm_stereo3d_draw_sidebyside()
99 immAttr2f(texcoord, halfx, 1.0f + halfy); in wm_stereo3d_draw_sidebyside()
128 const float halfy = GLA_PIXEL_OFS / sizex; in wm_stereo3d_draw_topbottom() local
134 immAttr2f(texcoord, halfx, halfy); in wm_stereo3d_draw_topbottom()
137 immAttr2f(texcoord, 1.0f + halfx, halfy); in wm_stereo3d_draw_topbottom()
140 immAttr2f(texcoord, 1.0f + halfx, 1.0f + halfy); in wm_stereo3d_draw_topbottom()
143 immAttr2f(texcoord, halfx, 1.0f + halfy); in wm_stereo3d_draw_topbottom()
H A Dwm_draw.c576 const float halfy = GLA_PIXEL_OFS / (BLI_rcti_size_y(&region->winrct) + 1); in wm_draw_region_blend() local
584 rect_tex.ymin = halfy; in wm_draw_region_blend()
586 rect_tex.ymax = 1.0f + halfy; in wm_draw_region_blend()
/dports/emulators/hugo/hugo-2.12/
H A Dmenu.h19 int halfx, halfy; variable
118 halfy = io.screen_h/2; in create_menu()
123 menu.y = halfy - half_lin; in create_menu()
148 for (j=halfy-half_lin; j<halfy+half_lin+1; j++) { in create_menu()
151 if ( j == halfy - half_lin || j == halfy + half_lin || in create_menu()
/dports/graphics/freeglut/freeglut-3.2.1/progs/demos/spaceball/
H A Dspaceball.c126 float halfy = (float)tan(FOV / 2.0); in reshape() local
127 float halfx = halfy * aspect; in reshape()
133 glFrustum(-halfx, halfx, -halfy, halfy, 1.0, 1000.0); in reshape()
/dports/graphics/mupdf/mupdf-1.18.0-source/thirdparty/freeglut/progs/demos/spaceball/
H A Dspaceball.c126 float halfy = (float)tan(FOV / 2.0); in reshape() local
127 float halfx = halfy * aspect; in reshape()
133 glFrustum(-halfx, halfx, -halfy, halfy, 1.0, 1000.0); in reshape()
/dports/graphics/Coin/coin-Coin-4.0.0/src/draggers/
H A DSoTabPlaneDragger.cpp447 float halfy = sizey * 0.5f; in reallyAdjustScaleTabSize() local
458 coords[4].setValue(1.0f, -halfy, Z_OFFSET); in reallyAdjustScaleTabSize()
459 coords[5].setValue(1.0f, halfy, Z_OFFSET); in reallyAdjustScaleTabSize()
460 coords[6].setValue(1.0f-sizex, halfy, Z_OFFSET); in reallyAdjustScaleTabSize()
461 coords[7].setValue(1.0f-sizex, -halfy, Z_OFFSET); in reallyAdjustScaleTabSize()
468 coords[12].setValue(-1.0f, halfy, Z_OFFSET); in reallyAdjustScaleTabSize()
469 coords[13].setValue(-1.0f, -halfy, Z_OFFSET); in reallyAdjustScaleTabSize()
470 coords[14].setValue(-1.0f+sizex, -halfy, Z_OFFSET); in reallyAdjustScaleTabSize()
471 coords[15].setValue(-1.0f+sizex, halfy, Z_OFFSET); in reallyAdjustScaleTabSize()
/dports/science/simbody/simbody-Simbody-3.7/Simbody/Visualizer/simbody-visualizer/
H A Dsimbody-visualizer.cpp533 const float halfy = 1; in makeBox() local
542 addVec(vertices, -halfx, halfy, halfz); in makeBox()
551 addVec(vertices, halfx, halfy, halfz); in makeBox()
552 addVec(vertices, halfx, -halfy, halfz); in makeBox()
554 addVec(vertices, halfx, halfy, -halfz); in makeBox()
564 addVec(vertices, halfx, -halfy, halfz); in makeBox()
573 addVec(vertices, halfx, halfy, halfz); in makeBox()
574 addVec(vertices, halfx, halfy, -halfz); in makeBox()
576 addVec(vertices, -halfx, halfy, halfz); in makeBox()
586 addVec(vertices, halfx, halfy, -halfz); in makeBox()
[all …]
/dports/math/pdal/PDAL-2.3.0/filters/private/hexer/
H A DHexGrid.cpp229 int halfy = (int)halfrow; in findHexagon() local
233 if ((halfy % 2 == 0 && x % 2 == 0) || (x % 2 && halfy % 2)) in findHexagon()
/dports/games/libretro-paralleln64/parallel-n64-6e26fbb/gles2rice/src/
H A DRender.cpp1352 int halfy = newRenderTextureInfo.bufferHeight/2; in UpdateClipRectangle() local
1354 int centery = halfy; in UpdateClipRectangle()
1357 gRSP.clip_ratio_top = centery - halfy * gRSP.clip_ratio_negy; in UpdateClipRectangle()
1359 gRSP.clip_ratio_bottom = centery + halfy * gRSP.clip_ratio_posy; in UpdateClipRectangle()
1378 int halfy = gRSP.nVPHeightN/2; in UpdateClipRectangle() local
1380 int centery = gRSP.nVPTopN+halfy; in UpdateClipRectangle()
1383 gRSP.clip_ratio_top = centery - halfy * gRSP.clip_ratio_negy; in UpdateClipRectangle()
1385 gRSP.clip_ratio_bottom = centery + halfy * gRSP.clip_ratio_posy; in UpdateClipRectangle()
1419 float halfy = gRSP.nVPHeightN/2.0f; in UpdateScissorWithClipRatio() local
1421 float centery = gRSP.nVPTopN+halfy; in UpdateScissorWithClipRatio()
[all …]
/dports/graphics/IPA/IPA-1.08/Global/
H A Dfft.c367 int x, y, x1, y1, halfx, halfy; in butterworth() local
373 halfy = Ydim / 2; in butterworth()
378 if (y < halfy) in butterworth()
/dports/graphics/blender/blender-2.91.0/source/blender/gpu/intern/
H A Dgpu_viewport.c829 const float halfy = GLA_PIXEL_OFS / h; in GPU_viewport_draw_to_screen_ex() local
840 .ymin = halfy, in GPU_viewport_draw_to_screen_ex()
842 .ymax = halfy + 1.0f, in GPU_viewport_draw_to_screen_ex()
/dports/math/R-cran-terra/terra/src/
H A Dsample.cpp573 double halfy = ymin + (ymax - ymin)/2; in sampleRegular() local
574 double dx = distance_lonlat(xmin, halfy, xmax, halfy); in sampleRegular()
/dports/devel/llvm80/llvm-8.0.1.src/test/Transforms/InstCombine/
H A Dfmul.ll378 %halfy = fmul float %y, 0.5
379 %log2 = call float @llvm.log2.f32(float %halfy)
393 %halfy = fmul float %y, 0.5
394 %log2 = call float @llvm.log2.f32(float %halfy)
/dports/devel/llvm70/llvm-7.0.1.src/test/Transforms/InstCombine/
H A Dfmul.ll378 %halfy = fmul float %y, 0.5
379 %log2 = call float @llvm.log2.f32(float %halfy)
393 %halfy = fmul float %y, 0.5
394 %log2 = call float @llvm.log2.f32(float %halfy)
/dports/devel/llvm90/llvm-9.0.1.src/test/Transforms/InstCombine/
H A Dfmul.ll583 %halfy = fmul float %y, 0.5
584 %log2 = call float @llvm.log2.f32(float %halfy)
598 %halfy = fmul float %y, 0.5
599 %log2 = call float @llvm.log2.f32(float %halfy)
/dports/x11-toolkits/soqt/soqt/src/Inventor/Qt/common/nodes/
H A DColorEditor.cpp.in866 const float halfy = (float) size[1] / 2.0f; local
868 const float ypos = ((float) y - halfy) / halfy;
/dports/x11-toolkits/SoXt/SoXt-1.3.0/src/Inventor/Xt/common/nodes/
H A DColorEditor.cpp.in857 const float halfy = (float) size[1] / 2.0f; local
859 const float ypos = ((float) y - halfy) / halfy;
/dports/devel/llvm10/llvm-10.0.1.src/test/Transforms/InstCombine/
H A Dfmul.ll580 %halfy = fmul float %y, 0.5
581 %log2 = call float @llvm.log2.f32(float %halfy)
595 %halfy = fmul float %y, 0.5
596 %log2 = call float @llvm.log2.f32(float %halfy)
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/test/Transforms/InstCombine/
H A Dfmul.ll580 %halfy = fmul float %y, 0.5
581 %log2 = call float @llvm.log2.f32(float %halfy)
595 %halfy = fmul float %y, 0.5
596 %log2 = call float @llvm.log2.f32(float %halfy)
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/test/Transforms/InstCombine/
H A Dfmul.ll628 %halfy = fmul float %y, 0.5
629 %log2 = call float @llvm.log2.f32(float %halfy)
643 %halfy = fmul float %y, 0.5
644 %log2 = call float @llvm.log2.f32(float %halfy)
/dports/devel/llvm11/llvm-11.0.1.src/test/Transforms/InstCombine/
H A Dfmul.ll628 %halfy = fmul float %y, 0.5
629 %log2 = call float @llvm.log2.f32(float %halfy)
643 %halfy = fmul float %y, 0.5
644 %log2 = call float @llvm.log2.f32(float %halfy)
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/test/Transforms/InstCombine/
H A Dfmul.ll628 %halfy = fmul float %y, 0.5
629 %log2 = call float @llvm.log2.f32(float %halfy)
643 %halfy = fmul float %y, 0.5
644 %log2 = call float @llvm.log2.f32(float %halfy)
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/test/Transforms/InstCombine/
H A Dfmul.ll628 %halfy = fmul float %y, 0.5
629 %log2 = call float @llvm.log2.f32(float %halfy)
643 %halfy = fmul float %y, 0.5
644 %log2 = call float @llvm.log2.f32(float %halfy)
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/test/Transforms/InstCombine/
H A Dfmul.ll628 %halfy = fmul float %y, 0.5
629 %log2 = call float @llvm.log2.f32(float %halfy)
643 %halfy = fmul float %y, 0.5
644 %log2 = call float @llvm.log2.f32(float %halfy)

12