unconed / MathBox.js

MathBox is a (work in progress) library for making presentation-quality math diagrams in WebGL.
MIT License
1.94k stars 126 forks source link

Clear color not an option #28

Open flying-sheep opened 10 years ago

flying-sheep commented 10 years ago

It’s easy enough to set it manually:

mathbox.world().tRenderer().setClearColorHex(0x000000, 0)

but since the white background is hardcoded exactly at the position where other options are applied, I’m not sure why it’s hardcoded at all. (I’m using above line of code without problem)

unconed commented 10 years ago

No reason beyond laziness.