From c3182222bd3fef6009f98205c0203d61a7509b11 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 26 Jan 2011 15:56:10 +0000 Subject: Corrected the origin alignment of collision mesh bodies. --- src/model/collisionmesh.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/model/collisionmesh.h') diff --git a/src/model/collisionmesh.h b/src/model/collisionmesh.h index 9efd21a..7329a0e 100644 --- a/src/model/collisionmesh.h +++ b/src/model/collisionmesh.h @@ -58,6 +58,8 @@ public: * @brief add a triangle to the collision mesh */ void add_triangle(const math::Vector3f & v0, const math::Vector3f & v1, const math::Vector3f & v2); + + void translate(const math::Vector3f translation); /* ---- static ----------------------------------------------------- */ -- cgit v1.2.3