Home forge Debugging Random number generators Vector math Integer vector math Matrix operations Matrix Creation Splines Wiggle Smooth step Perlin noise Snap Color space Triangle intersection Text Sorting Poly mesh neighbour Defines imagine betray betray_plugin_api Debugging If F_MEMORY_DEBUG is enabled, the memory debugging system will create macros that replace malloc, free and realloc and allows the system to keppt track of and report where memory is beeing allocated, how much and if the memory is beeing freed. This is very useful for finding memory leaks in large applications. The system can also over allocate memory and fill it with a magic number and can therfor detect if the application writes outside of the allocated memory. if F_EXIT_CRASH is defined, then exit(); will be replaced with a funtion that writes to NULL. This will make it trivial ti find out where an appl...