diff options
| author | Matthew Kosarek <mattkae@protonmail.com> | 2021-11-17 06:58:13 -0500 |
|---|---|---|
| committer | Matthew Kosarek <mattkae@protonmail.com> | 2021-11-17 06:58:13 -0500 |
| commit | a9de99cd643fbb1bb1555fd7206202fb600093e6 (patch) | |
| tree | 4200bdcaf045f1a676c8f13825df2fed5ebb6f55 /2d/softbody/softbody_1/damped.cpp | |
| parent | fd3c1e74e7ebe9125b98dba311efcbe73e89859e (diff) | |
(mkosarek) Fixing the displacement displayer
Diffstat (limited to '2d/softbody/softbody_1/damped.cpp')
| -rw-r--r-- | 2d/softbody/softbody_1/damped.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/2d/softbody/softbody_1/damped.cpp b/2d/softbody/softbody_1/damped.cpp index 010963b..d623c06 100644 --- a/2d/softbody/softbody_1/damped.cpp +++ b/2d/softbody/softbody_1/damped.cpp @@ -1,3 +1,4 @@ +#include "damped.h" #include "undamped.h" #include "../../../shared_cpp/Renderer2d.h" #include "../../../shared_cpp/types.h" @@ -54,6 +55,10 @@ namespace Damped { void unload(); }; + DampedInitVariables initVariables; + void setInitVariables(DampedInitVariables newVariables) { initVariables = newVariables; } + DampedInitVariables getInitVariables() { return initVariables; } + WebglContext* context; Renderer2d renderer; MainLoop mainLoop; |
