mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
Added a free "cross product" function to Pointf (thinking the Pointf is
really a vector in this case). Made the == operator inline.
This commit is contained in:
parent
695c92fb00
commit
8b0784f26c
2 changed files with 3 additions and 7 deletions
|
@ -12,12 +12,6 @@ Point::Point(double x, double y)
|
|||
this->y = lrint(y);
|
||||
}
|
||||
|
||||
bool
|
||||
Point::operator==(const Point& rhs) const
|
||||
{
|
||||
return this->coincides_with(rhs);
|
||||
}
|
||||
|
||||
std::string
|
||||
Point::wkt() const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue