aboutsummaryrefslogtreecommitdiff
path: root/src/utils/sceneparser.h
diff options
context:
space:
mode:
authorDavid Doan <daviddoan@Davids-MacBook-Pro-100.local>2023-12-12 13:59:38 -0500
committerDavid Doan <daviddoan@Davids-MacBook-Pro-100.local>2023-12-12 13:59:38 -0500
commit33082ca5ec4c20d34b79b3b1f24f3b3152db2816 (patch)
tree7adb26edf8302ec33e53645a516ceaa3803fbe83 /src/utils/sceneparser.h
parent58c896801817ac67913644ccd9373cd18774232a (diff)
should be building
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