mirror of
https://github.com/recp/cglm.git
synced 2025-10-03 16:51:35 +00:00
add guard to SIMD header
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
#ifndef cglm_quat_simd_h
|
||||
#define cglm_quat_simd_h
|
||||
#if defined( __SSE__ ) || defined( __SSE2__ )
|
||||
|
||||
#include "../../cglm-common.h"
|
||||
#include "cglm-intrin.h"
|
||||
@@ -64,4 +65,5 @@ glm_quat_slerp_sse2(versor q,
|
||||
_mm_set1_ps(sinTheta)));
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif /* cglm_quat_simd_h */
|
||||
|
Reference in New Issue
Block a user