diff options
-rw-r--r-- | src/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c index 9fd6ed4e..f27b1228 100644 --- a/src/utils.c +++ b/src/utils.c @@ -126,7 +126,7 @@ struct quaternion random_quaternion() q.x = (double)random()/RAND_MAX; q.y = (double)random()/RAND_MAX; q.z = (double)random()/RAND_MAX; - normalise_quaternion(q); + q = normalise_quaternion(q); return q; } |