Skip to content
Snippets Groups Projects
Commit d6446300 authored by Leonard Kupper's avatar Leonard Kupper
Browse files

Remove obsolete comment.

parent 568a3ff4
No related branches found
No related tags found
1 merge request!8Feat/rasterizer 10
......@@ -330,11 +330,7 @@ public class Rectangle {
public int getHeight() {
return wrapInt(mRectangle.getHeight());
}
// QUESTION FOR REVIEW:
// Does the -1 always make sense for integer coordinates?
// The point is that on integer coords, if you have a rectangle at x,y of size 1x1, it 'ends' at x,y not x+1,y+1
// The rectangle does not 'touch' the neighboring positions.
public int getRight() {
return wrapInt(mRectangle.getRight()) - 1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment