Apply autofixes
This commit is contained in:
parent
5357da3746
commit
dd6ee1bf60
15 changed files with 36 additions and 30 deletions
|
@ -8,7 +8,7 @@ class Vector2d {
|
|||
@override
|
||||
bool operator ==(Object otherz) {
|
||||
if (otherz is Vector2d) {
|
||||
Vector2d other = otherz as Vector2d;
|
||||
Vector2d other = otherz;
|
||||
return X == other.X && Z == other.Z;
|
||||
}
|
||||
return false;
|
||||
|
@ -60,7 +60,7 @@ class Vector2d {
|
|||
|
||||
@override
|
||||
String toString() {
|
||||
return "<${X}, ${Z}>";
|
||||
return "<$X, $Z>";
|
||||
}
|
||||
|
||||
bool inside(Vector2d min, Vector2d max) {
|
||||
|
@ -84,7 +84,7 @@ class Vector2i {
|
|||
@override
|
||||
bool operator ==(Object otherz) {
|
||||
if (otherz is Vector2i) {
|
||||
Vector2i other = otherz as Vector2i;
|
||||
Vector2i other = otherz;
|
||||
return X == other.X && Z == other.Z;
|
||||
}
|
||||
return false;
|
||||
|
@ -136,7 +136,7 @@ class Vector2i {
|
|||
|
||||
@override
|
||||
String toString() {
|
||||
return "<${X}, ${Z}>";
|
||||
return "<$X, $Z>";
|
||||
}
|
||||
|
||||
bool inside(Vector2i min, Vector2i max) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue