Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2011-01-26 15:56:10 +0000
committerStijn Buys <ingar@osirion.org>2011-01-26 15:56:10 +0000
commitc3182222bd3fef6009f98205c0203d61a7509b11 (patch)
tree32046ab6ae2d54f0930f8d5289f45a6807874635 /src/model/collisionmesh.h
parent035653e94a3d74b8f18c993034199d7cd08a895a (diff)
Corrected the origin alignment of collision mesh bodies.
Diffstat (limited to 'src/model/collisionmesh.h')
-rw-r--r--src/model/collisionmesh.h2
1 files changed, 2 insertions, 0 deletions
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 ----------------------------------------------------- */