Searched refs:SquareSize (Results 1 – 7 of 7) sorted by relevance
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/texturing/ |
H A D | lodbias.c | 45 #define SquareSize 50 macro 51 config.window_width = 3*SquareSize; 52 config.window_height = 3*SquareSize; 84 int pixx = (5*cellx+x+1)*SquareSize/5; in probe_cell() 85 int pixy = (5*celly+y+1)*SquareSize/5; in probe_cell() 98 float base = SquareSize/(4>>level); in scale_for_miplevel() 119 glScalef(SquareSize, SquareSize, 1.0); in test_simple_texture() 172 glScalef(SquareSize, SquareSize, 1.0); in test_multitex_combo()
|
/dports/cad/leocad/leocad-21.06/qt/ |
H A D | lc_qcolorlist.cpp | 12 const int SquareSize = 3; in lcDrawNoColorRect() local 17 int x = Rect.left() + 1 + Column * SquareSize; in lcDrawNoColorRect() 26 int y = Rect.top() + 1 + Row * SquareSize; in lcDrawNoColorRect() 31 QRect GridRect(x, y, SquareSize, SquareSize); in lcDrawNoColorRect()
|
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/scenario/ |
H A D | Scenario.cpp | 421 constexpr int32_t SquareSize = 7; in scenario_create_ducks() local 422 constexpr int32_t SquareCentre = SquareSize / 2; in scenario_create_ducks() 440 for (int32_t y = 0; y < SquareSize; y++) in scenario_create_ducks() 442 for (int32_t x = 0; x < SquareSize; x++) in scenario_create_ducks() 456 innerPos.x -= SquareSize * 32; in scenario_create_ducks()
|
/dports/games/spring/spring_98.0/rts/Map/SM3/terrain/ |
H A D | Terrain.cpp | 131 start = Vector3(sqStart.x, 0.0f, sqStart.y) * SquareSize; in Build() 132 end = Vector3(sqStart.x + w, 0.0f, sqStart.y + w) * SquareSize; in Build() 532 SetTexGen(1.0f / (heightmap->w * SquareSize)); in DrawOverlayTexture() 869 heightmap->squareSize = SquareSize; in Load() 1098 return Vector3(heightmap->w, 0.0f, heightmap->h) * SquareSize; in TerrainSize()
|
H A D | Textures.cpp | 57 v[0] = 1.0f / (SquareSize * tilesize.x); in CalcTexGenVector() 58 v[1] = 1.0f / (SquareSize * tilesize.y); in CalcTexGenVector()
|
H A D | TerrainNode.h | 41 const float SquareSize = 8.0f; variable
|
/dports/cad/leocad/leocad-21.06/common/ |
H A D | lc_view.cpp | 2977 const float SquareSize = lcMax(8.0f, (vw + vh) / 200.0f); in UpdateTrackTool() local 2979 if ((d < r + SquareSize) && (d > r - SquareSize)) in UpdateTrackTool() 2981 if ((cx - x < SquareSize) && (cx - x > -SquareSize)) in UpdateTrackTool() 2987 if ((cy - y < SquareSize) && (cy - y > -SquareSize)) in UpdateTrackTool()
|