mirror of
https://github.com/recp/cglm.git
synced 2026-01-03 06:09:59 +00:00
io: update documentation + README
This commit is contained in:
@@ -15,6 +15,21 @@
|
||||
CGLM_INLINE void glm_versor_print(versor vec, FILE *ostream);
|
||||
*/
|
||||
|
||||
/*
|
||||
cglm tried to enable print functions in debug mode and disable them in
|
||||
release/production mode to eliminate printing costs.
|
||||
|
||||
if you need to force enable then define CGLM_DEFINE_PRINTS macro not DEBUG one
|
||||
|
||||
Print functions are enabled if:
|
||||
|
||||
- DEBUG or _DEBUG macro is defined (mostly defined automatically in debugging)
|
||||
- CGLM_DEFINE_PRINTS macro is defined including release/production
|
||||
which makes enabled printing always
|
||||
- glmc_ calls for io are always prints
|
||||
|
||||
*/
|
||||
|
||||
#ifndef cglm_io_h
|
||||
#define cglm_io_h
|
||||
#if defined(DEBUG) || defined(_DEBUG) \
|
||||
|
||||
Reference in New Issue
Block a user