diff --git a/src/camera.h b/src/camera.h index f5379ef..3e4dc16 100644 --- a/src/camera.h +++ b/src/camera.h @@ -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); diff --git a/src/main.cpp b/src/main.cpp index 9dba888..ea8bfcf 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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),