X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmodel%2FCollisionBounds.hpp;h=e43b0d82e66e69ae624cbfbfbbba9e540ea8f770;hb=e4a1425dccd0ba9b106e415dd02809f4308a85ee;hp=78eb0dda77b6a8a3b55536f2e68de6eedce0e2e3;hpb=ba55bf4293f3abc742eef710545a4b207ba2c820;p=blank.git diff --git a/src/model/CollisionBounds.hpp b/src/model/CollisionBounds.hpp index 78eb0dd..e43b0d8 100644 --- a/src/model/CollisionBounds.hpp +++ b/src/model/CollisionBounds.hpp @@ -1,7 +1,7 @@ #ifndef BLANK_MODEL_COLLISIONBOUNDS_HPP_ #define BLANK_MODEL_COLLISIONBOUNDS_HPP_ -#include "../graphics/OutlineMesh.hpp" +#include "../graphics/PrimitiveMesh.hpp" #include @@ -19,7 +19,7 @@ struct CollisionBounds { std::size_t OutlineIndexCount() const { return out_idx.size(); } /// fill given buffers with these bounds' outline's elements - void Outline(OutlineMesh::Buffer &out) const; + void Outline(PrimitiveMesh::Buffer &out) const; /// Check if given ray would pass though this shape if it were /// transformed with given matrix. @@ -44,12 +44,12 @@ struct CollisionBounds { protected: void SetOutline( - const OutlineMesh::Positions &pos, - const OutlineMesh::Indices &idx); + const PrimitiveMesh::Positions &pos, + const PrimitiveMesh::Indices &idx); private: - OutlineMesh::Positions out_pos; - OutlineMesh::Indices out_idx; + PrimitiveMesh::Positions out_pos; + PrimitiveMesh::Indices out_idx; };