aboutsummaryrefslogtreecommitdiff
path: root/src/utils/sceneparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/sceneparser.h')
-rw-r--r--src/utils/sceneparser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/sceneparser.h b/src/utils/sceneparser.h
index 130156a..3ab93a8 100644
--- a/src/utils/sceneparser.h
+++ b/src/utils/sceneparser.h
@@ -12,6 +12,9 @@ struct RenderShapeData {
glm::vec4 translation4d; // appended to the right of the ctm (for 4d translation)
glm::mat4 inverseCTM;
glm::vec4 inverseTranslation4d; // appended to the right of the inverse ctm (for 4d translation)
+ glm::vec4 position;
+ glm::vec4 velocity;
+ float mass;
};
// Struct which contains all the data needed to render a scene