template<UnsignedIntdimensions>classCORRADE_DEPRECATED("scheduled for removal, see the docs for alternatives")MAGNUM_DEBUGTOOLS_EXPORTShapeRenderer:publicSceneGraph::Drawable<dimensions,Float>{
template<UnsignedIntdimensions>classCORRADE_DEPRECATED("scheduled for removal, see the docs for alternatives")MAGNUM_SHAPES_EXPORTAbstractShape:publicSceneGraph::AbstractGroupedFeature<dimensions,AbstractShape<dimensions>,Float>{
[Box2D](https://box2d.org/), which has a @ref examples-box2d "Magnum example"
aswell.
*/
template<UnsignedIntdimensions>inlineCORRADE_DEPRECATED("scheduled for removal, see the docs for alternatives")booloperator%(constPoint<dimensions>&a,constAxisAlignedBox<dimensions>&b){returnb%a;}
[Box2D](https://box2d.org/), which has a @ref examples-box2d "Magnum example"
aswell.
*/
template<UnsignedIntdimensions>inlineCORRADE_DEPRECATED("scheduled for removal, see the docs for alternatives")booloperator%(constPoint<dimensions>&a,constCapsule<dimensions>&b){returnb%a;}
[Box2D](https://box2d.org/), which has a @ref examples-box2d "Magnum example"
aswell.
*/
template<UnsignedIntdimensions>inlineCORRADE_DEPRECATED("scheduled for removal, see the docs for alternatives")booloperator%(constSphere<dimensions>&a,constCapsule<dimensions>&b){returnb%a;}
template<UnsignedIntdimensions,classT>inlineCORRADE_DEPRECATED("scheduled for removal, see the docs for alternatives")autooperator%(constT&a,constComposition<dimensions>&b)->typenamestd::enable_if<std::is_same<decltype(Implementation::TypeOf<T>::type()),typenameImplementation::ShapeDimensionTraits<dimensions>::Type>::value,bool>::type{
#endif
returnb%a;
}
@ -212,27 +283,51 @@ template<UnsignedInt dimensions, class T> inline auto operator%(const T& a, cons
template<classT,classU>inlineCORRADE_DEPRECATED("scheduled for removal, see the docs for alternatives")autooperator&&(T&&a,U&&b)->enableIfAreShapeType{
template<classT,classU>inlineCORRADE_DEPRECATED("scheduled for removal, see the docs for alternatives")autooperator||(T&&a,U&&b)->enableIfAreShapeType{
[Box2D](https://box2d.org/), which has a @ref examples-box2d "Magnum example"
aswell.
*/
template<UnsignedIntdimensions>inlineCORRADE_DEPRECATED("scheduled for removal, see the docs for alternatives")booloperator%(constPoint<dimensions>&a,constCylinder<dimensions>&b){returnb%a;}
[Box2D](https://box2d.org/), which has a @ref examples-box2d "Magnum example"
aswell.
*/
template<UnsignedIntdimensions>inlineCORRADE_DEPRECATED("scheduled for removal, see the docs for alternatives")booloperator%(constSphere<dimensions>&a,constCylinder<dimensions>&b){returnb%a;}
template<UnsignedIntdimensions>classCORRADE_DEPRECATED("scheduled for removal, see the docs for alternatives")MAGNUM_SHAPES_EXPORTShapeGroup:publicSceneGraph::FeatureGroup<dimensions,AbstractShape<dimensions>,Float>{
friendAbstractShape<dimensions>;
public:
@ -94,18 +113,35 @@ template<UnsignedInt dimensions> class MAGNUM_SHAPES_EXPORT ShapeGroup: public S
[Box2D](https://box2d.org/), which has a @ref examples-box2d "Magnum example"
aswell.
*/
template<UnsignedIntdimensions>inlineCORRADE_DEPRECATED("scheduled for removal, see the docs for alternatives")booloperator%(constPoint<dimensions>&a,constSphere<dimensions>&b){returnb%a;}
[Box2D](https://box2d.org/), which has a @ref examples-box2d "Magnum example"
aswell.
*/
template<UnsignedIntdimensions>inlineCORRADE_DEPRECATED("scheduled for removal, see the docs for alternatives")booloperator%(constPoint<dimensions>&a,constInvertedSphere<dimensions>&b){returnb%a;}
[Box2D](https://box2d.org/), which has a @ref examples-box2d "Magnum example"
aswell.
*/
template<UnsignedIntdimensions>inlineCORRADE_DEPRECATED("scheduled for removal, see the docs for alternatives")Collision<dimensions>operator/(constPoint<dimensions>&a,constSphere<dimensions>&b){return(b/a).flipped();}
[Box2D](https://box2d.org/), which has a @ref examples-box2d "Magnum example"
aswell.
*/
template<UnsignedIntdimensions>inlineCORRADE_DEPRECATED("scheduled for removal, see the docs for alternatives")Collision<dimensions>operator/(constPoint<dimensions>&a,constInvertedSphere<dimensions>&b){return(b/a).flipped();}
[Box2D](https://box2d.org/), which has a @ref examples-box2d "Magnum example"
aswell.
*/
template<UnsignedIntdimensions>inlineCORRADE_DEPRECATED("scheduled for removal, see the docs for alternatives")booloperator%(constLine<dimensions>&a,constSphere<dimensions>&b){returnb%a;}
[Box2D](https://box2d.org/), which has a @ref examples-box2d "Magnum example"
aswell.
*/
template<UnsignedIntdimensions>inlineCORRADE_DEPRECATED("scheduled for removal, see the docs for alternatives")booloperator%(constLineSegment<dimensions>&a,constSphere<dimensions>&b){returnb%a;}
[Box2D](https://box2d.org/), which has a @ref examples-box2d "Magnum example"
aswell.
*/
template<UnsignedIntdimensions>inlineCORRADE_DEPRECATED("scheduled for removal, see the docs for alternatives")booloperator%(constSphere<dimensions>&a,constInvertedSphere<dimensions>&b){returnb%a;}
[Box2D](https://box2d.org/), which has a @ref examples-box2d "Magnum example"
aswell.
*/
template<UnsignedIntdimensions>inlineCORRADE_DEPRECATED("scheduled for removal, see the docs for alternatives")Collision<dimensions>operator/(constSphere<dimensions>&a,constInvertedSphere<dimensions>&b){return(b/a).flipped();}