it... .WORKS??S??!??!?!

This commit is contained in:
maelstrom 2024-09-29 19:22:13 +02:00
parent 5c62c1585f
commit 103bff0e50
2 changed files with 15 additions and 1 deletions

View file

@ -18,7 +18,7 @@ public:
float pitch = 0., yaw = -90., roll = 0.;
float movementSpeed = 2.5f;
float movementSpeed = 5.0f;
float mouseSensitivity = 0.2f;
Camera(glm::vec3 initialPosition);

View file

@ -38,6 +38,20 @@ int main() {
simulationInit();
renderInit(window);
// Baseplate
parts.push_back(Part {
.position = glm::vec3(0, -5, 0),
.rotation = glm::vec3(0),
.scale = glm::vec3(5, 1, 5),
.material = Material {
.diffuse = glm::vec3(1.0f, 0.5f, 0.31f),
.specular = glm::vec3(0.5f, 0.5f, 0.5f),
.shininess = 32.0f,
},
.anchored = true,
});
syncPartPhysics(parts.back());
parts.push_back(Part {
.position = glm::vec3(0),
.rotation = glm::vec3(0),