Add a macro, RL_NO_COLOR_CONSTANTS, to allow excluding the color macros
from raylib.h
Certain libraries conflict with raylib's color macros, and can't be
included in the same file
One library affected by this is reactphysics3d. the RED macro mangles
this particular line:
17dd22e677/include/reactphysics3d/utils/DebugRenderer.h (L62)
So, it cannot be used with raylib
Users may also choose to provide their own choice of color constants,
different to raylib's choice. This gives users the freedom to do so,
without modifying raylib.h
One practical example of this is raylib-namespace.h
https://github.com/raylib-extras/extras-cpp/blob/master/raylib_namespace.h
which prefers to define the color constants as constants instead of
macros
Zig debug builds automatically enable ubsan.
As the fix for #1891 had to be reverted, debug builds using zig will crash like so:
```
Illegal instruction at address 0x3237d2
raylib/src/rlgl.h:3690:91: 0x3237d2 in rlDrawVertexArrayElements (/home/rcorre/src/raylib-zig-template/raylib/src/rcore.c)
glDrawElements(GL_TRIANGLES, count, GL_UNSIGNED_SHORT, (const unsigned short *)buffer + offset);
```
This disables UBSAN when using zig to build raylib.
* Added rudimentary SVG support. Added 2 functions ImageLoadSvg and ImageLoadSvgWithSize.
* Added an example on how to use ImageLoadSvgWithSize and adjusted Makefiles accordingly.
* Added actual correct example file.
* Reviewed the code to keep the raylib coding conventions in mind.
Moved the LoadImageSvg() code into LoadImage() guarded by SUPPORT_FILEFORMAT_SVG.
Renamed LoadImageSvgWithSize() to LoadImageSvg().
Added a LoadImageSvgFromString() function to parse the loaded SVG into an actual image. This does the bulk of the work.
* Fixed typo.
---------
Co-authored-by: Ray <raysan5@gmail.com>