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. |
||
---|---|---|
.. | ||
BoundingVolumeHierarchy.h | ||
Camera.h | ||
CMakeLists.txt | ||
Ray.h | ||
RayTracer.h | ||
RayTracingTypeDefs.h | ||
TriangleIntersector.h | ||
VolumeRendererStructured.h | ||
Worklets.h |