mirror of https://github.com/mosra/magnum.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
2.8 KiB
93 lines
2.8 KiB
#ifndef Magnum_Shapes_Shapes_h |
|
#define Magnum_Shapes_Shapes_h |
|
/* |
|
This file is part of Magnum. |
|
|
|
Copyright © 2010, 2011, 2012, 2013 Vladimír Vondruš <mosra@centrum.cz> |
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a |
|
copy of this software and associated documentation files (the "Software"), |
|
to deal in the Software without restriction, including without limitation |
|
the rights to use, copy, modify, merge, publish, distribute, sublicense, |
|
and/or sell copies of the Software, and to permit persons to whom the |
|
Software is furnished to do so, subject to the following conditions: |
|
|
|
The above copyright notice and this permission notice shall be included |
|
in all copies or substantial portions of the Software. |
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
|
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
|
DEALINGS IN THE SOFTWARE. |
|
*/ |
|
|
|
/** @file |
|
* @brief Forward declarations for Magnum::Shapes namespace |
|
*/ |
|
|
|
#include "Types.h" |
|
|
|
namespace Magnum { namespace Shapes { |
|
|
|
template<UnsignedInt> class AbstractShape; |
|
typedef AbstractShape<2> AbstractShape2D; |
|
typedef AbstractShape<3> AbstractShape3D; |
|
|
|
template<UnsignedInt> class AxisAlignedBox; |
|
typedef AxisAlignedBox<2> AxisAlignedBox2D; |
|
typedef AxisAlignedBox<3> AxisAlignedBox3D; |
|
|
|
template<UnsignedInt> class Box; |
|
typedef Box<2> Box2D; |
|
typedef Box<3> Box3D; |
|
|
|
template<UnsignedInt> class Capsule; |
|
typedef Capsule<2> Capsule2D; |
|
typedef Capsule<3> Capsule3D; |
|
|
|
template<UnsignedInt> class Collision; |
|
typedef Collision<2> Collision2D; |
|
typedef Collision<3> Collision3D; |
|
|
|
template<UnsignedInt> class Composition; |
|
typedef Composition<2> Composition2D; |
|
typedef Composition<3> Composition3D; |
|
|
|
template<UnsignedInt> class Cylinder; |
|
typedef Cylinder<2> Cylinder2D; |
|
typedef Cylinder<3> Cylinder3D; |
|
|
|
template<UnsignedInt> class Line; |
|
typedef Line<2> Line2D; |
|
typedef Line<3> Line3D; |
|
|
|
template<UnsignedInt> class LineSegment; |
|
typedef LineSegment<2> LineSegment2D; |
|
typedef LineSegment<3> LineSegment3D; |
|
|
|
template<class> class Shape; |
|
|
|
template<UnsignedInt> class ShapeGroup; |
|
typedef ShapeGroup<2> ShapeGroup2D; |
|
typedef ShapeGroup<3> ShapeGroup3D; |
|
|
|
template<UnsignedInt> class Sphere; |
|
typedef Sphere<2> Sphere2D; |
|
typedef Sphere<3> Sphere3D; |
|
|
|
template<UnsignedInt> class InvertedSphere; |
|
typedef InvertedSphere<2> InvertedSphere2D; |
|
typedef InvertedSphere<3> InvertedSphere3D; |
|
|
|
class Plane; |
|
|
|
template<UnsignedInt> class Point; |
|
typedef Point<2> Point2D; |
|
typedef Point<3> Point3D; |
|
|
|
}} |
|
|
|
#endif
|
|
|