Open
Description
While it's possible to use CGLM like this:
#define CGLM_FORCE_DEPTH_ZERO_TO_ONE
#define CGLM_FORCE_LEFT_HANDED
#include "cglm/cglm.h"
the following code doesn't work as expected:
#define CGLM_FORCE_DEPTH_ZERO_TO_ONE
#define CGLM_FORCE_LEFT_HANDED
#include "cglm/call.h"
since the function bodies are already compiled.
It is possible to make it work by editting CMakeListst.txt
/Makefile
or with the tricks like C_FLAGS
definitions while building but I've scanned the documentation/repository for clues and haven't found any official way to do it. If that's not the case please point me to the right direction, otherwise I am willing to contribute after a discussion about the proper way to implement it.