@ibaned @shevitz @raovgarimella @MackKenamond
I am opening this for a new discussion thread.
I pulled Rao's work on the dynamically allocated buffer.
But given all the discussion around a smart build system, would it make sense to have CMake control not only the value of R3D_MAX_VERTS, but also whether the code uses static vs dynamic allocation? We could make the API consistent for both cases, so that one could switch at will (i.e., r3d_init_poly() would really do nothing in the static case, but could be left in for consistency)
@ibaned @shevitz @raovgarimella @MackKenamond
I am opening this for a new discussion thread.
I pulled Rao's work on the dynamically allocated buffer.
But given all the discussion around a smart build system, would it make sense to have CMake control not only the value of R3D_MAX_VERTS, but also whether the code uses static vs dynamic allocation? We could make the API consistent for both cases, so that one could switch at will (i.e., r3d_init_poly() would really do nothing in the static case, but could be left in for consistency)