cginternals / webgl-operate

A TypeScript based WebGL rendering framework.
https://webgl-operate.org
MIT License
166 stars 25 forks source link

Refactor controller #246

Closed Zanthelo closed 4 years ago

Zanthelo commented 4 years ago

Refactors controller to simplify control flow. Also adds multi frame delay, used to delay rendering of subsequent intermediate frames after the first.

Zanthelo commented 4 years ago

I've gone ahead and removed the pause state of the controller, because I didn't see a notable difference between pause and block. I don't know the original design decision to split them and I am not 100% sure, if i missed something. It would be nice, if someone could review that decision.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.4%) to 17.89% when pulling b9725115f21a1c025f4dd8a7faedd39eb9e62e37 on Zanthelo:refactor-controller into 0fa524bbbe4233c3ff2643be2b3f463633a3a8cd on cginternals:master.