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