0769b96bf3
The width and height are maintained out of necessity by the canvas. A second copy was maintained by the camera, which was only used for computing the aspect ratio and similar metrics for projections. Having to maintain the width/height in two places is a bit of a hassle and provides the opportunity for bugs if they get out of sync. Instead, have the width/height managed in one place (the canvas) and pass them as parameters as necessary. |
||
---|---|---|
.. | ||
clipping | ||
demo | ||
hello_world | ||
isosurface | ||
lots_of_args | ||
multi_backend | ||
rendering | ||
streamline | ||
tetrahedra | ||
CMakeLists.txt |