mirror of https://github.com/mosra/magnum.git
18 changed files with 196 additions and 44 deletions
@ -0,0 +1,76 @@ |
|||||||
|
#ifndef Magnum_Physics_Physics_h |
||||||
|
#define Magnum_Physics_Physics_h |
||||||
|
/*
|
||||||
|
Copyright © 2010, 2011, 2012 Vladimír Vondruš <mosra@centrum.cz> |
||||||
|
|
||||||
|
This file is part of Magnum. |
||||||
|
|
||||||
|
Magnum is free software: you can redistribute it and/or modify |
||||||
|
it under the terms of the GNU Lesser General Public License version 3 |
||||||
|
only, as published by the Free Software Foundation. |
||||||
|
|
||||||
|
Magnum is distributed in the hope that it will be useful, |
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||||
|
GNU Lesser General Public License version 3 for more details. |
||||||
|
*/ |
||||||
|
|
||||||
|
#include <cstdint> |
||||||
|
|
||||||
|
/** @file
|
||||||
|
* @brief Forward declarations for Magnum::Physics namespace |
||||||
|
*/ |
||||||
|
|
||||||
|
namespace Magnum { namespace Physics { |
||||||
|
|
||||||
|
template<std::uint8_t> class AbstractShape; |
||||||
|
typedef AbstractShape<2> AbstractShape2D; |
||||||
|
typedef AbstractShape<3> AbstractShape3D; |
||||||
|
|
||||||
|
template<std::uint8_t> class AxisAlignedBox; |
||||||
|
typedef AxisAlignedBox<2> AxisAlignedBox2D; |
||||||
|
typedef AxisAlignedBox<3> AxisAlignedBox3D; |
||||||
|
|
||||||
|
template<std::uint8_t> class Box; |
||||||
|
typedef Box<2> Box2D; |
||||||
|
typedef Box<3> Box3D; |
||||||
|
|
||||||
|
template<std::uint8_t> class Capsule; |
||||||
|
typedef Capsule<2> Capsule2D; |
||||||
|
typedef Capsule<3> Capsule3D; |
||||||
|
|
||||||
|
class DebugDrawResourceManager; |
||||||
|
|
||||||
|
template<std::uint8_t> class Line; |
||||||
|
typedef Line<2> Line2D; |
||||||
|
typedef Line<3> Line3D; |
||||||
|
|
||||||
|
template<std::uint8_t> class LineSegment; |
||||||
|
typedef LineSegment<2> LineSegment2D; |
||||||
|
typedef LineSegment<3> LineSegment3D; |
||||||
|
|
||||||
|
template<std::uint8_t> class ObjectShape; |
||||||
|
typedef ObjectShape<2> ObjectShape2D; |
||||||
|
typedef ObjectShape<3> ObjectShape3D; |
||||||
|
|
||||||
|
template<std::uint8_t> class ObjectShapeGroup; |
||||||
|
typedef ObjectShapeGroup<2> ObjectShapeGroup2D; |
||||||
|
typedef ObjectShapeGroup<3> ObjectShapeGroup3D; |
||||||
|
|
||||||
|
class Plane; |
||||||
|
|
||||||
|
template<std::uint8_t> class Point; |
||||||
|
typedef Point<2> Point2D; |
||||||
|
typedef Point<3> Point3D; |
||||||
|
|
||||||
|
template<std::uint8_t> class ShapeGroup; |
||||||
|
typedef ShapeGroup<2> ShapeGroup2D; |
||||||
|
typedef ShapeGroup<3> ShapeGroup3D; |
||||||
|
|
||||||
|
template<std::uint8_t> class Sphere; |
||||||
|
typedef Sphere<2> Sphere2D; |
||||||
|
typedef Sphere<3> Sphere3D; |
||||||
|
|
||||||
|
}} |
||||||
|
|
||||||
|
#endif |
||||||
Loading…
Reference in new issue