MyGit

v0.7.3

recp/cglm

版本发布时间: 2020-05-01 06:24:05

recp/cglm最新发布版本:v0.9.4(2024-04-01 23:10:19)

Bugfixes and Improvements:

New Features:

Print Functions Improvements

    #define CGLM_PRINT_PRECISION    5
    #define CGLM_PRINT_MAX_TO_SHORT 1e5
    #define CGLM_PRINT_COLOR        "\033[36m"
    #define CGLM_PRINT_COLOR_RESET  "\033[0m"

To make codes unbroken, cglm makes inline print functions to be empty-body (if DEBUG and CGLM_DEFINE_PRINTS are not defined):

CGLM_INLINE void glm_mat4_print(mat4 matrix, FILE *o) { }

compiler must eliminate this empty inline function calls. This also can be disabled by defining CGLM_NO_PRINTS_NOOP macro. 🎉

Define CGLM_PRINT_PRECISION to change print precision, default is increased to 5 from 4 ...

相关地址:原始地址 下载(tar) 下载(zip)

查看:2020-05-01发行的版本