The library still uses malloc, realloc, and free instead of M3D_MALLOC, M3D_REALLOC, and M3D_FREE.
I'm using custom allocation functions for the library, but in some parts, it keeps using malloc, realloc and free. In my case it causes crashes because I am using odin lang allocators.
- https://gitlab.com/bztsrc/model3d/-/blob/master/m3d.h#L6340
- https://gitlab.com/bztsrc/model3d/-/blob/master/m3d.h#L4919
- https://gitlab.com/bztsrc/model3d/-/blob/master/m3d.h#L4310
- https://gitlab.com/bztsrc/model3d/-/blob/master/m3d.h#L4598
- https://gitlab.com/bztsrc/model3d/-/blob/master/m3d.h#L4603
- https://gitlab.com/bztsrc/model3d/-/blob/master/m3d.h#L4606
- https://gitlab.com/bztsrc/model3d/-/blob/master/m3d.h#L5224
- https://gitlab.com/bztsrc/model3d/-/blob/master/m3d.h#L6315
- https://gitlab.com/bztsrc/model3d/-/blob/master/m3d.h#L4522