projects
/
vg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perlin
[vg.git]
/
vg_m.h
diff --git
a/vg_m.h
b/vg_m.h
index 4429aa71858c08995c3a4edbaf02331b4a76fbd3..2a5082d9b813c53687fb60254b47b5c141836caa 100644
(file)
--- a/
vg_m.h
+++ b/
vg_m.h
@@
-1386,8
+1386,7
@@
static inline void q_inv( v4f q, v4f d )
static inline void q_nlerp( v4f a, v4f b, float t, v4f d )
{
- if( v4_dot(a,b) < 0.0f )
- {
+ if( v4_dot(a,b) < 0.0f ){
v4_muls( b, -1.0f, d );
v4_lerp( a, d, t, d );
}