Apply autofixes

This commit is contained in:
zontreck 2024-05-06 13:45:52 -07:00
parent 5357da3746
commit dd6ee1bf60
15 changed files with 36 additions and 30 deletions

View file

@ -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) {