Revert "improved printing for Point3 and Unit3"

This reverts commit 8f17fbcc8e.
release/4.3a0
Varun Agrawal 2020-03-17 15:10:22 -04:00
parent cd88c795ae
commit 510d5c500c
2 changed files with 2 additions and 8 deletions

View File

@ -29,10 +29,7 @@ bool Point3::equals(const Point3 &q, double tol) const {
}
void Point3::print(const string& s) const {
if (s.size() != 0) {
cout << s << " ";
}
cout << *this << endl;
cout << s << *this << endl;
}
/* ************************************************************************* */

View File

@ -154,10 +154,7 @@ std::ostream& operator<<(std::ostream& os, const Unit3& pair) {
/* ************************************************************************* */
void Unit3::print(const std::string& s) const {
if(s.size() != 0) {
cout << s << ":";
}
cout << p_ << endl;
cout << s << ":" << p_ << endl;
}
/* ************************************************************************* */