summaryrefslogtreecommitdiff
path: root/examples/SharedMemory/SharedMemoryPublic.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/SharedMemory/SharedMemoryPublic.h')
-rw-r--r--examples/SharedMemory/SharedMemoryPublic.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/SharedMemory/SharedMemoryPublic.h b/examples/SharedMemory/SharedMemoryPublic.h
index 7541ddb5a..4e3f6d3f3 100644
--- a/examples/SharedMemory/SharedMemoryPublic.h
+++ b/examples/SharedMemory/SharedMemoryPublic.h
@@ -118,6 +118,8 @@ enum EnumSharedMemoryClientCommand
CMD_PERFORM_COLLISION_DETECTION,
CMD_RESET_MESH_DATA,
+
+ CMD_REQUEST_TETRA_MESH_DATA,
//don't go beyond this command!
CMD_MAX_CLIENT_COMMANDS,
};
@@ -244,6 +246,9 @@ enum EnumSharedMemoryServerStatus
CMD_PERFORM_COLLISION_DETECTION_COMPLETED,
CMD_RESET_MESH_DATA_COMPLETED,
CMD_RESET_MESH_DATA_FAILED,
+
+ CMD_REQUEST_TETRA_MESH_DATA_COMPLETED,
+ CMD_REQUEST_TETRA_MESH_DATA_FAILED,
//don't go beyond 'CMD_MAX_SERVER_COMMANDS!
CMD_MAX_SERVER_COMMANDS
};
@@ -481,6 +486,17 @@ struct b3MeshData
struct b3MeshVertex* m_vertices;
};
+enum eTetraMeshDataEnum
+{
+ B3_TETRA_MESH_DATA_FLAGS=2,
+};
+
+struct b3TetraMeshData
+{
+ int m_numVertices;
+ struct b3MeshVertex* m_vertices;
+};
+
struct b3OpenGLVisualizerCameraInfo
{
int m_width;