diff --git a/src/Physics/ObjectShapeGroup.cpp b/src/Physics/ObjectShapeGroup.cpp index f6d7cb30c..b24d65a35 100644 --- a/src/Physics/ObjectShapeGroup.cpp +++ b/src/Physics/ObjectShapeGroup.cpp @@ -16,7 +16,7 @@ #include "ObjectShapeGroup.h" #include "Physics/AbstractShape.h" -#include "ObjectShape.h" +#include "Physics/ObjectShape.h" namespace Magnum { namespace Physics { diff --git a/src/Physics/Test/ObjectShapeTest.cpp b/src/Physics/Test/ObjectShapeTest.cpp index a6b8c17b5..132dc48f4 100644 --- a/src/Physics/Test/ObjectShapeTest.cpp +++ b/src/Physics/Test/ObjectShapeTest.cpp @@ -46,7 +46,7 @@ void ObjectShapeTest::clean() { Object3D a(&scene); ObjectShape3D* shape = new ObjectShape3D(&a, &group); - shape->setShape(new Physics::Point3D({1.0f, -2.0f, 3.0f})); + shape->setShape(Physics::Point3D({1.0f, -2.0f, 3.0f})); a.scale(Vector3(-2.0f)); Object3D b(&scene);