rename + add docs

This commit is contained in:
2025-07-07 21:40:37 +00:00
parent 5d7152ee05
commit 44e1fd3abc
12 changed files with 36 additions and 29 deletions
+2
View File
@@ -12,6 +12,8 @@ class PointData<T> {
PointData(this.point, this.data);
}
/// Data structure for spatial hashing to get widgets to be built quickly
/// based on their position in a 2D grid.
class SpatialHashing<T> {
final Size cellSize;
final HashMap<Point, T> _pointData = HashMap<Point, T>();