v0.4.2: reduced amount of allocations occurring when frames are drawn
This commit is contained in:
committed by
Evan Debenham
parent
9663a47958
commit
b821bfddf8
@@ -151,4 +151,11 @@ public class PointF {
|
||||
public String toString() {
|
||||
return "" + x + ", " + y;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (super.equals(o))
|
||||
return true;
|
||||
return o instanceof PointF && (((PointF)o).x == x && ((PointF)o).y == y);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user