render vertices in addition to edges

This commit is contained in:
2026-02-17 00:54:43 +01:00
parent d6ce1a94f5
commit fba493ea93
6 changed files with 47 additions and 44 deletions

View File

@ -6,11 +6,12 @@
constexpr int WIDTH = 800;
constexpr int HEIGHT = 800;
constexpr float VERTEX_SIZE = 5.0;
constexpr float VERTEX_SIZE = 50.0;
constexpr Color VERTEX_COLOR = {27, 188, 104, 255};
constexpr Color EDGE_COLOR = {20, 133, 38, 255};
constexpr float SIM_SPEED = 4.0;
constexpr float ROTATION_SPEED = 1.0;
constexpr float CAMERA_DISTANCE = 2.2;
constexpr float DEFAULT_SPRING_CONSTANT = 1.5;