Browse Source

Don't include Matrix3 in Matrix4, as it isn't used.

Also updated includes in dependent headers.
pull/279/head
Vladimír Vondruš 14 years ago
parent
commit
93961aca65
  1. 1
      src/AbstractShaderProgram.h
  2. 2
      src/Math/Matrix4.h
  3. 2
      src/Math/Test/Matrix4Test.cpp
  4. 2
      src/Physics/AxisAlignedBox.cpp
  5. 1
      src/Physics/Box.h
  6. 2
      src/Physics/Capsule.cpp
  7. 2
      src/Physics/Line.cpp
  8. 2
      src/Physics/Point.cpp
  9. 2
      src/Physics/Sphere.cpp
  10. 1
      src/SceneGraph/Object.h

1
src/AbstractShaderProgram.h

@ -21,6 +21,7 @@
#include <map>
#include "Math/Matrix3.h"
#include "Math/Matrix4.h"
#include "Math/Vector4.h"
#include "Magnum.h"

2
src/Math/Matrix4.h

@ -19,7 +19,7 @@
* @brief Class Magnum::Math::Matrix4
*/
#include "Matrix3.h"
#include "Matrix.h"
#include "Point3D.h"
namespace Magnum { namespace Math {

2
src/Math/Test/Matrix4Test.cpp

@ -28,7 +28,7 @@ using namespace Corrade::Utility;
namespace Magnum { namespace Math { namespace Test {
typedef Math::Matrix4<float> Matrix4;
typedef Math::Matrix3<float> Matrix3;
typedef Math::Matrix<3, float> Matrix3;
typedef Math::Vector3<float> Vector3;
Matrix4Test::Matrix4Test() {

2
src/Physics/AxisAlignedBox.cpp

@ -15,8 +15,8 @@
#include "AxisAlignedBox.h"
#include "Math/Matrix3.h"
#include "Math/Matrix4.h"
#include "Math/Point3D.h"
namespace Magnum { namespace Physics {

1
src/Physics/Box.h

@ -19,6 +19,7 @@
* @brief Class Magnum::Physics::Box, typedef Magnum::Physics::Box2D, Magnum::Physics::Box3D
*/
#include "Math/Matrix3.h"
#include "Math/Matrix4.h"
#include "AbstractShape.h"

2
src/Physics/Capsule.cpp

@ -17,8 +17,8 @@
#include "Math/Constants.h"
#include "Math/Math.h"
#include "Math/Matrix3.h"
#include "Math/Matrix4.h"
#include "Math/Point3D.h"
#include "Math/Geometry/Distance.h"
#include "Point.h"
#include "Sphere.h"

2
src/Physics/Line.cpp

@ -15,8 +15,8 @@
#include "Line.h"
#include "Math/Matrix3.h"
#include "Math/Matrix4.h"
#include "Math/Point3D.h"
namespace Magnum { namespace Physics {

2
src/Physics/Point.cpp

@ -15,8 +15,8 @@
#include "Point.h"
#include "Math/Matrix3.h"
#include "Math/Matrix4.h"
#include "Math/Point3D.h"
namespace Magnum { namespace Physics {

2
src/Physics/Sphere.cpp

@ -17,8 +17,8 @@
#include "Math/Constants.h"
#include "Math/Math.h"
#include "Math/Matrix3.h"
#include "Math/Matrix4.h"
#include "Math/Point3D.h"
#include "Math/Geometry/Distance.h"
#include "LineSegment.h"
#include "Point.h"

1
src/SceneGraph/Object.h

@ -21,6 +21,7 @@
#include <Containers/LinkedList.h>
#include "Math/Matrix3.h"
#include "Math/Matrix4.h"
#include "Magnum.h"

Loading…
Cancel
Save