aboutsummaryrefslogtreecommitdiffstats
path: root/gui/quadtree.h
diff options
context:
space:
mode:
authorD. Shah <dave@ds0.me>2021-01-28 15:19:06 +0000
committerD. Shah <dave@ds0.me>2021-01-28 15:19:06 +0000
commit94e8847d674388c3c8ac663fa4912bb8029b2951 (patch)
tree8e7ffbce4b7d253f05d0bb58ea6430aae8e1b065 /gui/quadtree.h
parent5fc3e8e4d2d82396e8ade480192379ccff95a931 (diff)
downloadnextpnr-94e8847d674388c3c8ac663fa4912bb8029b2951.tar.gz
nextpnr-94e8847d674388c3c8ac663fa4912bb8029b2951.tar.bz2
nextpnr-94e8847d674388c3c8ac663fa4912bb8029b2951.zip
cleanup: Spelling fixes
Signed-off-by: D. Shah <dave@ds0.me>
Diffstat (limited to 'gui/quadtree.h')
-rw-r--r--gui/quadtree.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/quadtree.h b/gui/quadtree.h
index a6c38a85..5bbd2ebb 100644
--- a/gui/quadtree.h
+++ b/gui/quadtree.h
@@ -20,7 +20,7 @@
#ifndef QUADTREE_H
#define QUADTREE_H
-// This file implements a quad tree used for comitting 2D axis aligned
+// This file implements a quad tree used for committing 2D axis aligned
// bounding boxes and then retrieving them by 2D point.
NEXTPNR_NAMESPACE_BEGIN
@@ -382,17 +382,17 @@ template <typename CoordinateT, typename ElementT> class QuadTree
// Standard constructor.
//
- // @param b Bounding box of the entire tree - all comitted elements must
+ // @param b Bounding box of the entire tree - all committed elements must
// fit within in.
QuadTree(BoundingBox b) : root_(b, 0) {}
// Inserts a new value at a given bounding box.e
// BoundingBoxes are not deduplicated - if two are pushed with the same
- // coordinates, the first one will take precendence.
+ // coordinates, the first one will take precedence.
//
// @param k Bounding box at which to store value.
// @param v Value at a given bounding box.
- // @returns Whether the insert was succesful.
+ // @returns Whether the insert was successful.
bool insert(BoundingBox k, ElementT v)
{
k.fixup();