A prototype for the implementation of Amanatides & Woo's "A Fast Voxel Traversal Algorithm" in C++. Note, this has not been tested, and is not guaranteed to be bug-free. An overview of the algorithm can be found here.
double
or float
, I've decided to use value_type
which can be set to a user-specified type in Vec3.h
.