improve rendering performance by batching edge and cube draws

This commit is contained in:
2026-02-22 01:41:39 +01:00
parent 05172d0d8f
commit 35de23e865
6 changed files with 136 additions and 28 deletions

View File

@ -118,6 +118,8 @@ public:
auto GetMass(const State &state) -> Mass &;
auto GetMass(const State &state) const -> const Mass &;
auto AddSpring(const State &massA, const State &massB, float spring_constant,
float dampening_constant, float rest_length) -> void;