Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/collisionmesh.cc')
-rw-r--r--src/model/collisionmesh.cc12
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