mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
committed by
Recep Aslantas
parent
d03d4b8df5
commit
43b36f1dc1
@@ -113,6 +113,12 @@ glmm_norm(__m128 a) {
|
||||
return _mm_cvtss_f32(_mm_sqrt_ss(glmm_vhadds(_mm_mul_ps(a, a))));
|
||||
}
|
||||
|
||||
static inline
|
||||
float
|
||||
glmm_norm2(__m128 a) {
|
||||
return _mm_cvtss_f32(glmm_vhadds(_mm_mul_ps(a, a)));
|
||||
}
|
||||
|
||||
static inline
|
||||
__m128
|
||||
glmm_load3(float v[3]) {
|
||||
|
||||
Reference in New Issue
Block a user