Home
last modified time | relevance | path

Searched refs:cellX (Results 1 – 25 of 117) sorted by relevance

12345

/dports/games/openmw/openmw-openmw-0.47.0/components/esmterrain/
H A Dstorage.cpp107 ++cellX; in fixNormal()
117 --cellX; in fixNormal()
137 fixNormal(n1, cellX, cellY, col+1, row, cache); in averageNormal()
138 fixNormal(n2, cellX, cellY, col-1, row, cache); in averageNormal()
139 fixNormal(n3, cellX, cellY, col, row+1, cache); in averageNormal()
140 fixNormal(n4, cellX, cellY, col, row-1, cache); in averageNormal()
154 ++cellX; in fixColour()
207 for (int cellX = startCellX; cellX < startCellX + std::ceil(size); ++cellX) in fillVertexBuffers() local
325 --cellX; in getVtexIndexAt()
330 ++cellX; in getVtexIndexAt()
[all …]
H A Dstorage.hpp60 virtual osg::ref_ptr<const LandObject> getLand (int cellX, int cellY)= 0;
121 …inline void fixNormal (osg::Vec3f& normal, int cellX, int cellY, int col, int row, LandCache& cach…
122 …inline void fixColour (osg::Vec4ub& colour, int cellX, int cellY, int col, int row, LandCache& cac…
123 …inline void averageNormal (osg::Vec3f& normal, int cellX, int cellY, int col, int row, LandCache& …
125 inline const LandObject* getLand(int cellX, int cellY, LandCache& cache);
136 inline UniqueTextureId getVtexIndexAt(int cellX, int cellY, int x, int y, LandCache&);
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/app/cn3d/
H A Dsequence_viewer_widget.cpp626 int cellX, cellY, MOX, MOY; in OnMouseEvent() local
633 cellX = prevMOX; in OnMouseEvent()
656 if (cellX < 0) cellX = 0; in OnMouseEvent()
657 else if (cellX >= (int)areaWidth) cellX = areaWidth - 1; in OnMouseEvent()
708 prevToX = cellX; in OnMouseEvent()
720 cellX = prevToX; in OnMouseEvent()
749 cellX = areaWidth - 1; in OnMouseEvent()
759 ((int)fromX < cellX) ? fromX : cellX, in OnMouseEvent()
761 (cellX > (int)fromX) ? cellX : fromX, in OnMouseEvent()
785 DrawRubberband(dc, cellX, cellY, cellX, cellY, vsX, vsY); in OnMouseEvent()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/lure/
H A Droom.h51 bool isOccupied(byte cellX, byte cellY) { in isOccupied() argument
52 return _cells[cellY][cellX] < 0xfe; in isOccupied()
54 uint8 getCell(byte cellX, byte cellY) { in getCell() argument
55 return _cells[cellY][cellX]; in getCell()
57 void setCell(byte cellX, byte cellY, byte value) { in setCell() argument
58 _cells[cellY][cellX] = value; in setCell()
/dports/games/scummvm/scummvm-2.5.1/engines/lure/
H A Droom.h51 bool isOccupied(byte cellX, byte cellY) { in isOccupied() argument
52 return _cells[cellY][cellX] < 0xfe; in isOccupied()
54 uint8 getCell(byte cellX, byte cellY) { in getCell() argument
55 return _cells[cellY][cellX]; in getCell()
57 void setCell(byte cellX, byte cellY, byte value) { in setCell() argument
58 _cells[cellY][cellX] = value; in setCell()
/dports/math/vtk8/VTK-8.2.0/Filters/General/
H A DvtkImageMarchingCubes.cxx496 int cellX, int cellY, int cellZ, in vtkImageMarchingCubesHandleCube() argument
561 pointIds[ii] = self->GetLocatorPoint(cellX, cellY, *edge); in vtkImageMarchingCubesHandleCube()
571 cellX, cellY, cellZ, in vtkImageMarchingCubesHandleCube()
575 self->AddLocatorPoint(cellX, cellY, *edge, pointIds[ii]); in vtkImageMarchingCubesHandleCube()
739 vtkIdType *ptr = this->GetLocatorPointer(cellX, cellY, edge); in AddLocatorPoint()
748 vtkIdType *ptr = this->GetLocatorPointer(cellX, cellY, edge); in GetLocatorPoint()
760 case 9: ++cellX; edge = 8; break; in GetLocatorPointer()
762 case 11: ++cellX; ++cellY; edge = 8; break; in GetLocatorPointer()
763 case 5: ++cellX; edge = 7; break; in GetLocatorPointer()
765 case 1: ++cellX; edge = 3; break; in GetLocatorPointer()
[all …]
H A DvtkImageMarchingCubes.h120 vtkIdType GetLocatorPoint(int cellX, int cellY, int edge);
121 void AddLocatorPoint(int cellX, int cellY, int edge, vtkIdType ptId);
156 vtkIdType *GetLocatorPointer(int cellX, int cellY, int edge);
/dports/math/vtk9/VTK-9.1.0/Filters/General/
H A DvtkImageMarchingCubes.cxx557 pointIds[ii] = self->GetLocatorPoint(cellX, cellY, *edge); in vtkImageMarchingCubesHandleCube()
565 self->AddLocatorPoint(cellX, cellY, *edge, pointIds[ii]); in vtkImageMarchingCubesHandleCube()
717 vtkIdType* ptr = this->GetLocatorPointer(cellX, cellY, edge); in AddLocatorPoint()
723 vtkIdType vtkImageMarchingCubes::GetLocatorPoint(int cellX, int cellY, int edge) in GetLocatorPoint() argument
726 vtkIdType* ptr = this->GetLocatorPointer(cellX, cellY, edge); in GetLocatorPoint()
739 ++cellX; in GetLocatorPointer()
747 ++cellX; in GetLocatorPointer()
752 ++cellX; in GetLocatorPointer()
760 ++cellX; in GetLocatorPointer()
770 cellX -= this->LocatorMinX; in GetLocatorPointer()
[all …]
H A DvtkImageMarchingCubes.h120 vtkIdType GetLocatorPoint(int cellX, int cellY, int edge);
121 void AddLocatorPoint(int cellX, int cellY, int edge, vtkIdType ptId);
156 vtkIdType* GetLocatorPointer(int cellX, int cellY, int edge);
/dports/math/vtk6/VTK-6.2.0/Filters/General/
H A DvtkImageMarchingCubes.cxx496 int cellX, int cellY, int cellZ, in vtkImageMarchingCubesHandleCube() argument
561 pointIds[ii] = self->GetLocatorPoint(cellX, cellY, *edge); in vtkImageMarchingCubesHandleCube()
571 cellX, cellY, cellZ, in vtkImageMarchingCubesHandleCube()
575 self->AddLocatorPoint(cellX, cellY, *edge, pointIds[ii]); in vtkImageMarchingCubesHandleCube()
742 vtkIdType *ptr = this->GetLocatorPointer(cellX, cellY, edge); in AddLocatorPoint()
751 vtkIdType *ptr = this->GetLocatorPointer(cellX, cellY, edge); in GetLocatorPoint()
763 case 9: ++cellX; edge = 8; break; in GetLocatorPointer()
765 case 11: ++cellX; ++cellY; edge = 8; break; in GetLocatorPointer()
766 case 5: ++cellX; edge = 7; break; in GetLocatorPointer()
768 case 1: ++cellX; edge = 3; break; in GetLocatorPointer()
[all …]
H A DvtkImageMarchingCubes.h105 vtkIdType GetLocatorPoint(int cellX, int cellY, int edge);
106 void AddLocatorPoint(int cellX, int cellY, int edge, vtkIdType ptId);
138 vtkIdType *GetLocatorPointer(int cellX, int cellY, int edge);
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/angle/src/tests/gl_tests/
H A DClearTest.cpp428 for (int cellX = 0; cellX < numRowsCols; cellX++) in TEST_P() local
430 int seed = cellX + cellY * numRowsCols; in TEST_P()
439 glViewport(cellX * cellSize, cellY * cellSize, cellSize, cellSize); in TEST_P()
452 for (int cellX = 0; cellX < numRowsCols; cellX++) in TEST_P() local
454 int seed = cellX + cellY * numRowsCols; in TEST_P()
458 … int testN = cellX * cellSize + cellY * backFBOSize * cellSize + backFBOSize + 1; in TEST_P()
/dports/games/openmw/openmw-openmw-0.47.0/apps/opencs/view/render/
H A Dterraintexturemode.cpp305 int cellX = cellCoordinates_pair.first.getX(); in editTerrainTextureGrid() local
314 cellX = cellX - 1; in editTerrainTextureGrid()
322 mCellId = CSMWorld::CellCoordinates::generateId(cellX, cellY); in editTerrainTextureGrid()
349 int upperLeftCellX = cellX - std::floor(r / landTextureSize); in editTerrainTextureGrid()
354 int lowerrightCellX = cellX + std::floor(r / landTextureSize); in editTerrainTextureGrid()
381 … if (i_cell < cellX) distanceX = xHitInCell + landTextureSize * abs(i_cell-cellX) - i; in editTerrainTextureGrid()
383 … if (i_cell > cellX) distanceX = -xHitInCell + landTextureSize * abs(i_cell-cellX) + i; in editTerrainTextureGrid()
399 int upperLeftCellX = cellX - std::floor(r / landTextureSize); in editTerrainTextureGrid()
404 int lowerrightCellX = cellX + std::floor(r / landTextureSize); in editTerrainTextureGrid()
434 … if (i_cell < cellX) distanceX = xHitInCell + landTextureSize * abs(i_cell-cellX) - i; in editTerrainTextureGrid()
[all …]
H A Dterrainstorage.cpp17 osg::ref_ptr<const ESMTerrain::LandObject> TerrainStorage::getLand(int cellX, int cellY) in getLand() argument
21 int index = mData.getLand().searchId(CSMWorld::Land::createUniqueRecordId(cellX, cellY)); in getLand()
48 … float TerrainStorage::getSumOfAlteredAndTrueHeight(int cellX, int cellY, int inCellX, int inCellY) in getSumOfAlteredAndTrueHeight() argument
51 osg::ref_ptr<const ESMTerrain::LandObject> land = getLand (cellX, cellY); in getSumOfAlteredAndTrueHeight()
/dports/games/openmw/openmw-openmw-0.47.0/apps/openmw/mwrender/
H A Dterrainstorage.cpp25 bool TerrainStorage::hasData(int cellX, int cellY) in hasData() argument
30 const ESM::Land* land = esmStore.get<ESM::Land>().search(cellX, cellY); in hasData()
64 osg::ref_ptr<const ESMTerrain::LandObject> TerrainStorage::getLand(int cellX, int cellY) in getLand() argument
66 return mLandManager->getLand(cellX, cellY); in getLand()
H A Dterrainstorage.hpp23 osg::ref_ptr<const ESMTerrain::LandObject> getLand (int cellX, int cellY) override;
26 bool hasData(int cellX, int cellY) override;
/dports/math/vtk9/VTK-9.1.0/IO/ExportPDF/Testing/Cxx/
H A DTestPDFTransformedText.cxx144 const int cellX = cellWidth * cellIdX; in PaintCell() local
151 painter->DrawRect(cellX, cellY, cellWidth, cellHeight); in PaintCell()
208 textAnchor[0] = cellX + cellWidth * 0.15; in PaintCell()
212 textAnchor[0] = cellX + cellWidth * 0.5; in PaintCell()
216 textAnchor[0] = cellX + cellWidth * 0.85; in PaintCell()
220 textAnchor[0] = cellX + cellWidth * 0.5; in PaintCell()
/dports/math/vtk8/VTK-8.2.0/IO/ExportPDF/Testing/Cxx/
H A DTestPDFTransformedText.cxx146 const int cellX = cellWidth * cellIdX; in PaintCell() local
154 painter->DrawRect(cellX, cellY, cellWidth, cellHeight); in PaintCell()
213 textAnchor[0] = cellX + cellWidth * 0.15; in PaintCell()
217 textAnchor[0] = cellX + cellWidth * 0.5; in PaintCell()
221 textAnchor[0] = cellX + cellWidth * 0.85; in PaintCell()
225 textAnchor[0] = cellX + cellWidth * 0.5; in PaintCell()
/dports/x11-themes/fvwm-themes/fvwm-themes-0.7.0/themes/cde/modules/
H A Dcreate-buttonbar-config147 my $cellX = $lr < 0? $buttStartLeft: $buttStartRight;
148 $cellX += ($n - 1) * $buttonWidth;
151 …$drawer = "*FvwmButtons-Panel: (${buttonWidth}x$sliderHeight+$cellX+0, Frame 1$sliderIcon, Colorse…
153 …my $str = $drawer . "*FvwmButtons-Panel: (${buttonWidth}x$buttonHeight+$cellX+$sliderHeight, Frame…
/dports/games/openmw/openmw-openmw-0.47.0/apps/openmw/mwworld/
H A Dactionteleport.cpp54 int cellX; in teleport() local
56 world->positionToIndex(mPosition.pos[0],mPosition.pos[1],cellX,cellY); in teleport()
57 world->moveObject(actor,world->getExterior(cellX,cellY), in teleport()
/dports/www/firefox-esr/firefox-91.8.0/editor/libeditor/
H A DHTMLInlineTableEditor.cpp386 int32_t cellX = 0, cellY = 0; in RefreshInlineTableEditingUIInternal() local
388 GetElementOrigin(*mInlineEditedCell, cellX, cellY); in RefreshInlineTableEditingUIInternal()
395 int32_t centerOfCellX = cellX + cellWidth / 2; in RefreshInlineTableEditingUIInternal()
452 cellX - 7, centerOfCellY - 10); in RefreshInlineTableEditingUIInternal()
458 cellX - 7, centerOfCellY - 4); in RefreshInlineTableEditingUIInternal()
464 cellX - 7, centerOfCellY + 6); in RefreshInlineTableEditingUIInternal()
/dports/lang/spidermonkey78/firefox-78.9.0/editor/libeditor/
H A DHTMLInlineTableEditor.cpp404 int32_t cellX = 0, cellY = 0; in RefreshInlineTableEditingUIInternal() local
406 GetElementOrigin(*mInlineEditedCell, cellX, cellY); in RefreshInlineTableEditingUIInternal()
413 int32_t centerOfCellX = cellX + cellWidth / 2; in RefreshInlineTableEditingUIInternal()
450 SetAnonymousElementPosition(cellX - 7, centerOfCellY - 10, in RefreshInlineTableEditingUIInternal()
457 SetAnonymousElementPosition(cellX - 7, centerOfCellY - 4, removeRowButton); in RefreshInlineTableEditingUIInternal()
463 SetAnonymousElementPosition(cellX - 7, centerOfCellY + 6, addRowAfterButton); in RefreshInlineTableEditingUIInternal()
/dports/www/firefox/firefox-99.0/editor/libeditor/
H A DHTMLInlineTableEditor.cpp386 int32_t cellX = 0, cellY = 0; in RefreshInlineTableEditingUIInternal() local
388 GetElementOrigin(*mInlineEditedCell, cellX, cellY); in RefreshInlineTableEditingUIInternal()
395 int32_t centerOfCellX = cellX + cellWidth / 2; in RefreshInlineTableEditingUIInternal()
452 cellX - 7, centerOfCellY - 10); in RefreshInlineTableEditingUIInternal()
458 cellX - 7, centerOfCellY - 4); in RefreshInlineTableEditingUIInternal()
464 cellX - 7, centerOfCellY + 6); in RefreshInlineTableEditingUIInternal()
/dports/mail/thunderbird/thunderbird-91.8.0/editor/libeditor/
H A DHTMLInlineTableEditor.cpp386 int32_t cellX = 0, cellY = 0; in RefreshInlineTableEditingUIInternal() local
388 GetElementOrigin(*mInlineEditedCell, cellX, cellY); in RefreshInlineTableEditingUIInternal()
395 int32_t centerOfCellX = cellX + cellWidth / 2; in RefreshInlineTableEditingUIInternal()
452 cellX - 7, centerOfCellY - 10); in RefreshInlineTableEditingUIInternal()
458 cellX - 7, centerOfCellY - 4); in RefreshInlineTableEditingUIInternal()
464 cellX - 7, centerOfCellY + 6); in RefreshInlineTableEditingUIInternal()
/dports/games/openmw/openmw-openmw-0.47.0/components/terrain/
H A Dstorage.hpp33 virtual bool hasData(int cellX, int cellY) in hasData() argument
36 return getMinMaxHeights(1, osg::Vec2f(cellX+0.5, cellY+0.5), dummy, dummy); in hasData()

12345