CI: Hotfix for build error with newer clang++
It will be included in the next release at some point. - https://github.com/RenderKit/embree/issues 486 "fix output operator" [ 30%] Compiling thirdparty/embree/kernels/common/accelset.cpp ... In file included from thirdparty/embree/kernels/common/device.cpp:12: In file included from thirdparty/embree/kernels/common/scene_curves.h:10: thirdparty/embree/kernels/common/../subdiv/bezier_curve.h:138:56: error: no member named 'u' in 'QuadraticBezierCurve<V>' 138 | return cout << "QuadraticBezierCurve ( (" << a.u.lower << ", " << a.u.upper << "), " << a.v0 << ", " << a.v1 << ", " << a.v2 << ")"; ...
This commit is contained in:
parent
5241d30bfa
commit
c24ea0ecca
|
@ -210,9 +210,9 @@ namespace embree
|
|||
};
|
||||
|
||||
/*! output operator */
|
||||
friend __forceinline embree_ostream operator<<(embree_ostream cout, const PointMi& line)
|
||||
friend __forceinline embree_ostream operator<<(embree_ostream cout, const PointMi& point)
|
||||
{
|
||||
return cout << "Line" << M << "i {" << line.v0 << ", " << line.geomID() << ", " << line.primID() << "}";
|
||||
return cout << "Point" << M << "i {" << point.geomID() << ", " << point.primID() << "}";
|
||||
}
|
||||
|
||||
public:
|
||||
|
|
|
@ -135,7 +135,7 @@ namespace embree
|
|||
}
|
||||
|
||||
friend embree_ostream operator<<(embree_ostream cout, const QuadraticBezierCurve& a) {
|
||||
return cout << "QuadraticBezierCurve ( (" << a.u.lower << ", " << a.u.upper << "), " << a.v0 << ", " << a.v1 << ", " << a.v2 << ")";
|
||||
return cout << "QuadraticBezierCurve (" << a.v0 << ", " << a.v1 << ", " << a.v2 << ")";
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue