mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-29 04:44:26 +03:00
Removed the x(), y(), z() Point/Pointf/Point3/Pointf3 accessors.
This commit is contained in:
@@ -137,25 +137,25 @@ struct PointLike {
|
||||
template<class RawPoint>
|
||||
static TCoord<RawPoint> x(const RawPoint& p)
|
||||
{
|
||||
return p.x();
|
||||
return p(0);
|
||||
}
|
||||
|
||||
template<class RawPoint>
|
||||
static TCoord<RawPoint> y(const RawPoint& p)
|
||||
{
|
||||
return p.y();
|
||||
return p(1);
|
||||
}
|
||||
|
||||
template<class RawPoint>
|
||||
static TCoord<RawPoint>& x(RawPoint& p)
|
||||
{
|
||||
return p.x();
|
||||
return p(0);
|
||||
}
|
||||
|
||||
template<class RawPoint>
|
||||
static TCoord<RawPoint>& y(RawPoint& p)
|
||||
{
|
||||
return p.y();
|
||||
return p(1);
|
||||
}
|
||||
|
||||
template<class RawPoint>
|
||||
|
||||
Reference in New Issue
Block a user