aboutsummaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
authorArne Dußin2020-12-16 13:34:56 +0100
committerArne Dußin2020-12-16 13:34:56 +0100
commit82d11b7d3e15d8175accf7579db1fbe528fc6583 (patch)
treebe9a5601e99608966d4ccd146c3bfb3a70c7fc02 /src/math
parent9799d3c6a8f0c242668203a1c70d7b6cfed3e855 (diff)
downloadgraf_karto-82d11b7d3e15d8175accf7579db1fbe528fc6583.tar.gz
graf_karto-82d11b7d3e15d8175accf7579db1fbe528fc6583.zip
Add constant for default colours and selection tool
Diffstat (limited to 'src/math')
-rw-r--r--src/math/rect.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/rect.rs b/src/math/rect.rs
index befa4da..50c1cb0 100644
--- a/src/math/rect.rs
+++ b/src/math/rect.rs
@@ -112,7 +112,7 @@ impl<T: Scalar + Copy> Rect<T> {
x: min.x,
y: min.y,
w: max.x - min.x,
- h: max.y - min.y
+ h: max.y - min.y,
}
}