Skip to content

Commit b32c2e4

Browse files
committed
docs: Add method description
1 parent f345379 commit b32c2e4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Generals/Code/GameEngine/Source/GameLogic/Object/PartitionManager.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1838,6 +1838,8 @@ void PartitionData::hLineCircle(Int x1, Int x2, Int y)
18381838
}
18391839

18401840
// -----------------------------------------------------------------------------
1841+
// Marks all partition cells that intersect a circle of the given center and radius
1842+
// as covered by this object using a variation of the midpoint circle algorithm.
18411843
void PartitionData::doCircleFill(
18421844
Real centerX,
18431845
Real centerY,

GeneralsMD/Code/GameEngine/Source/GameLogic/Object/PartitionManager.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1842,6 +1842,8 @@ void PartitionData::hLineCircle(Int x1, Int x2, Int y)
18421842
}
18431843

18441844
// -----------------------------------------------------------------------------
1845+
// Marks all partition cells that intersect a circle of the given center and radius
1846+
// as covered by this object using a variation of the midpoint circle algorithm.
18451847
void PartitionData::doCircleFill(
18461848
Real centerX,
18471849
Real centerY,

0 commit comments

Comments
 (0)