diff --git a/Physics3D/geometry/triangleMesh.h b/Physics3D/geometry/triangleMesh.h index fbdde67d..33d32ab5 100644 --- a/Physics3D/geometry/triangleMesh.h +++ b/Physics3D/geometry/triangleMesh.h @@ -7,7 +7,7 @@ #include "../math/boundingBox.h" #include "../datastructures/alignedPtr.h" #include "../datastructures/iteratorFactory.h" - +#include namespace P3D { struct Triangle { union { diff --git a/Physics3D/physical.h b/Physics3D/physical.h index 2fc26b91..e675630b 100644 --- a/Physics3D/physical.h +++ b/Physics3D/physical.h @@ -16,6 +16,8 @@ #include "hardconstraints/hardConstraint.h" #include "hardconstraints/hardPhysicalConnection.h" +#include + namespace P3D { typedef Vec3 Vec3Local; typedef Vec3 Vec3Relative; diff --git a/graphics/batch/batch.h b/graphics/batch/batch.h index 9cb61567..31004950 100644 --- a/graphics/batch/batch.h +++ b/graphics/batch/batch.h @@ -93,7 +93,7 @@ class Batch { vertexBuffer = std::move(other.vertexBuffer); indexBuffer = std::move(other.indexBuffer); - indexCounter = std::move(other.indexBuffer); + indexCounter = std::move(other.indexCounter); currentIndex = std::move(other.currentIndex); vertexPointer = std::move(other.vertexPointer);