TinyRaytracer 0.1
A simple C++ raytracer
|
#include <libpng.h>
Public Attributes | |
uint32_t | height |
uint32_t | width |
pixel_t * | rgba |
A minimal struct for storing PNG data. C/C++ has poor support for 2D arrays, so use the provided image_xy macro (C) or the Image wrapper class (C++) for access.