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.cc | |
parent | 035653e94a3d74b8f18c993034199d7cd08a895a (diff) |
Corrected the origin alignment of collision mesh bodies.
Diffstat (limited to 'src/model/collisionmesh.cc')
-rw-r--r-- | src/model/collisionmesh.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/model/collisionmesh.cc b/src/model/collisionmesh.cc index 616ee0d..b20074f 100644 --- a/src/model/collisionmesh.cc +++ b/src/model/collisionmesh.cc @@ -73,4 +73,16 @@ void CollisionMesh::add_triangle(const math::Vector3f & v0, const math::Vector3f collisionmesh_size += 1; } +void CollisionMesh::translate(const math::Vector3f translation) +{ + /* + IndexedMeshArray & indexes = collisionmesh_triangles->getIndexedMeshArray(); + for (size_t i =0; i < indexes.size(); i++) { + btIndexedMesh & mesh = indexes[i]; + + + } + */ +} + } // namespace model |