aboutsummaryrefslogtreecommitdiff
path: root/src/utils/sceneparser.h
diff options
context:
space:
mode:
authorFate Bussey <lafayette_bussey@brown.edu>2023-12-12 14:04:17 -0500
committerFate Bussey <lafayette_bussey@brown.edu>2023-12-12 14:04:17 -0500
commitba17c6e047e817078b433838a2aedbe5d3ce1d21 (patch)
tree56b8946e1aad840d7c575eaa3943bd07c74f33c0 /src/utils/sceneparser.h
parent2117034251eaa124ec9c6bec4524e490a0ee9ec0 (diff)
parent33082ca5ec4c20d34b79b3b1f24f3b3152db2816 (diff)
normals complete
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