// will run when the program vx_global_destroy() is called by user at end of program static void vxo_box_destroy(void * ignored) { vx_resc_dec_destroy(vertex_points); vx_resc_dec_destroy(line_indices); vx_resc_dec_destroy(tri_points); vx_resc_dec_destroy(tri_normals); }
// will run when the program vx_global_destroy() is called by user at end of program static void vxo_grid_destroy(void * ignored) { vx_resc_dec_destroy(grid_vertices); }
// will run when the program vx_global_destroy() is called by user at end of program static void vxo_rect_destroy(void * ignored) { vx_resc_dec_destroy(points); vx_resc_dec_destroy(indices); vx_resc_dec_destroy(normals); }
// will run when the program vx_global_destroy() is called by user at // the end of program static void vxo_robot_destroy(void * ignored) { vx_resc_dec_destroy(points); }