Fix hit accuracy heatmap points being offset

This commit is contained in:
Dan Balasescu 2024-02-06 21:56:52 +09:00
parent 9e7912e663
commit 891346f795
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ private void load()
for (int c = 0; c < points_per_dimension; c++)
{
HitPointType pointType = Vector2.Distance(new Vector2(c, r), centre) <= innerRadius
HitPointType pointType = Vector2.Distance(new Vector2(c + 0.5f, r + 0.5f), centre) <= innerRadius
? HitPointType.Hit
: HitPointType.Miss;