Home
last modified time | relevance | path

Searched refs:windowCoords (Results 1 – 13 of 13) sorted by relevance

/dports/science/py-avogadrolibs/avogadrolibs-1.94.0/avogadro/rendering/
H A Dtextlabel2d.cpp38 void TextLabel2D::setAnchor(const Vector2i& windowCoords) in setAnchor() argument
40 setAnchorInternal(Vector3f(static_cast<float>(windowCoords.x()), in setAnchor()
41 static_cast<float>(windowCoords.y()), 0.f)); in setAnchor()
H A Dtextlabel2d.h44 void setAnchor(const Vector2i& windowCoords);
/dports/science/avogadrolibs/avogadrolibs-1.94.0/avogadro/rendering/
H A Dtextlabel2d.cpp38 void TextLabel2D::setAnchor(const Vector2i& windowCoords) in setAnchor() argument
40 setAnchorInternal(Vector3f(static_cast<float>(windowCoords.x()), in setAnchor()
41 static_cast<float>(windowCoords.y()), 0.f)); in setAnchor()
H A Dtextlabel2d.h44 void setAnchor(const Vector2i& windowCoords);
/dports/games/scummvm/scummvm-2.5.1/engines/wintermute/base/gfx/
H A Dbase_renderer3d.cpp51 Math::Vector3d windowCoords; in project() local
54 …luMathProject(point, modelMatrix.getData(), _projectionMatrix3d.getData(), viewport, windowCoords); in project()
55 x = windowCoords.x(); in project()
57 y = viewport[3] - windowCoords.y(); in project()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/interface/
H A DViewport.cpp619 auto windowCoords = window->savedViewPos; in viewport_update_position() local
624 windowCoords.x -= viewport->viewPos.x; in viewport_update_position()
625 if (windowCoords.x < 0) in viewport_update_position()
627 windowCoords.x = -windowCoords.x; in viewport_update_position()
631 if (windowCoords.y < 0) in viewport_update_position()
633 windowCoords.y = -windowCoords.y; in viewport_update_position()
636 windowCoords.x = (windowCoords.x + 7) / 8; in viewport_update_position()
637 windowCoords.y = (windowCoords.y + 7) / 8; in viewport_update_position()
640 if (!windowCoords.x && !windowCoords.y) in viewport_update_position()
646 windowCoords.x = -windowCoords.x; in viewport_update_position()
[all …]
/dports/games/ufoai/ufoai-2.5-source/src/tools/radiant/radiant/xyview/
H A DXYWnd.cpp1031 Vector4 windowCoords = getWindowCoordinates(); in drawGrid() local
1033 xb = step * floor(windowCoords[0] / step); in drawGrid()
1034 xe = step * ceil(windowCoords[1] / step); in drawGrid()
1035 yb = step * floor(windowCoords[2] / step); in drawGrid()
1036 ye = step * ceil(windowCoords[3] / step); in drawGrid()
1229 Vector4 windowCoords = getWindowCoordinates(); in drawBlockGrid() local
1231 xb = static_cast<float> (blockSize * floor(windowCoords[0] / blockSize)); in drawBlockGrid()
1232 xe = static_cast<float> (blockSize * ceil(windowCoords[1] / blockSize)); in drawBlockGrid()
1234 ye = static_cast<float> (blockSize * ceil(windowCoords[3] / blockSize)); in drawBlockGrid()
1558 Vector4 windowCoords = getWindowCoordinates(); in draw() local
[all …]
/dports/emulators/mess/mame-mame0226/src/mame/video/
H A Dhng64_3d.hxx890 float windowCoords[4]; // Mapped ndCoordinates to screen space in recoverPolygonBlock() local
891 windowCoords[0] = (ndCoords[0]+1.0f) * ((float)(visarea.max_x) / 2.0f) + 0.0f; in recoverPolygonBlock()
892 windowCoords[1] = (ndCoords[1]+1.0f) * ((float)(visarea.max_y) / 2.0f) + 0.0f; in recoverPolygonBlock()
893 windowCoords[2] = (ndCoords[2]+1.0f) * 0.5f; in recoverPolygonBlock()
896 windowCoords[1] = (float)visarea.max_y - windowCoords[1]; in recoverPolygonBlock()
899 currentPoly.vert[m].clipCoords[0] = windowCoords[0]; in recoverPolygonBlock()
900 currentPoly.vert[m].clipCoords[1] = windowCoords[1]; in recoverPolygonBlock()
901 currentPoly.vert[m].clipCoords[2] = windowCoords[2]; in recoverPolygonBlock()
/dports/emulators/mame/mame-mame0226/src/mame/video/
H A Dhng64_3d.hxx890 float windowCoords[4]; // Mapped ndCoordinates to screen space in recoverPolygonBlock() local
891 windowCoords[0] = (ndCoords[0]+1.0f) * ((float)(visarea.max_x) / 2.0f) + 0.0f; in recoverPolygonBlock()
892 windowCoords[1] = (ndCoords[1]+1.0f) * ((float)(visarea.max_y) / 2.0f) + 0.0f; in recoverPolygonBlock()
893 windowCoords[2] = (ndCoords[2]+1.0f) * 0.5f; in recoverPolygonBlock()
896 windowCoords[1] = (float)visarea.max_y - windowCoords[1]; in recoverPolygonBlock()
899 currentPoly.vert[m].clipCoords[0] = windowCoords[0]; in recoverPolygonBlock()
900 currentPoly.vert[m].clipCoords[1] = windowCoords[1]; in recoverPolygonBlock()
901 currentPoly.vert[m].clipCoords[2] = windowCoords[2]; in recoverPolygonBlock()
/dports/www/ilias6/ILIAS-6.14/libs/bower/bower_components/openlayers/src/ol/render/webgl/linestringreplay/
H A Ddefaultshader.glsl148 vec2 windowCoords = vec2((v_roundVertex.x + 1.0) / 2.0 * u_size.x * u_pixelRatio,
150 if (length(windowCoords - gl_FragCoord.xy) > v_halfWidth * u_pixelRatio) {
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/angle/src/compiler/translator/
H A DTranslatorVulkan.cpp526 TVariable *windowCoords = CreateTempVariable(symbolTable, vec2Type); in AddBresenhamEmulationVS() local
527 TIntermDeclaration *windowDecl = CreateTempInitDeclarationNode(windowCoords, ndcToWindow); in AddBresenhamEmulationVS()
534 new TIntermBinary(EOpVectorTimesScalar, CreateTempSymbolNode(windowCoords), scaleConstant); in AddBresenhamEmulationVS()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/compiler/translator/
H A DTranslatorVulkan.cpp542 TVariable *windowCoords = CreateTempVariable(symbolTable, vec2Type); in AddBresenhamEmulationVS() local
543 TIntermDeclaration *windowDecl = CreateTempInitDeclarationNode(windowCoords, ndcToWindow); in AddBresenhamEmulationVS()
550 new TIntermBinary(EOpVectorTimesScalar, CreateTempSymbolNode(windowCoords), scaleConstant); in AddBresenhamEmulationVS()
/dports/www/tikiwiki/tiki-21.2/vendor_bundled/vendor/openlayers/openlayers/
H A Dol.js.map1windowCoords = vec2((v_roundVertex.x + 1.0) / 2.0 * u_size.x * u_pixelRatio,\\n (v_roundVer…