diff options
author | Stijn Buys <ingar@osirion.org> | 2011-01-26 15:56:10 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2011-01-26 15:56:10 +0000 |
commit | c3182222bd3fef6009f98205c0203d61a7509b11 (patch) | |
tree | 32046ab6ae2d54f0930f8d5289f45a6807874635 /src/model/collisionmesh.h | |
parent | 035653e94a3d74b8f18c993034199d7cd08a895a (diff) |
Corrected the origin alignment of collision mesh bodies.
Diffstat (limited to 'src/model/collisionmesh.h')
-rw-r--r-- | src/model/collisionmesh.h | 2 |
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 ----------------------------------------------------- */ |