mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
make pre-compiled funcs c++ compatible
This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
|
||||
#ifndef cglmc_quat_h
|
||||
#define cglmc_quat_h
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "../cglm.h"
|
||||
|
||||
@@ -55,4 +58,7 @@ glmc_quat_slerp(versor q,
|
||||
float t,
|
||||
versor dest);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* cglmc_quat_h */
|
||||
|
||||
Reference in New Issue
Block a user