mirror of
https://github.com/recp/cglm.git
synced 2026-11-17 10:17:13 -06:00
vec-ext: fix vec param type
This commit is contained in:
1 parent
ba0973054e
commit
d6cae07602
1 file changed
+1
-1
@@ -59,7 +59,7 @@ glm_vec_broadcast(float val, vec3 d) {
|
||||
|
||||
CGLM_INLINE
|
||||
void
|
||||
glm_vec4_broadcast(float val, vec3 d) {
|
||||
glm_vec4_broadcast(float val, vec4 d) {
|
||||
#if defined( __SSE__ ) || defined( __SSE2__ )
|
||||
_mm_store_ps(d, _mm_set1_ps(val));
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user