copyFrom method Null safety
- Triangle other
Copy the triangle from other
into this.
Implementation
void copyFrom(Triangle other) {
_point0.setFrom(other._point0);
_point1.setFrom(other._point1);
_point2.setFrom(other._point2);
}
Copy the triangle from other
into this.
void copyFrom(Triangle other) {
_point0.setFrom(other._point0);
_point1.setFrom(other._point1);
_point2.setFrom(other._point2);
}