From d4f64d25a0cd05a9779c6694e96817da25178fba Mon Sep 17 00:00:00 2001 From: Walter Oggioni Date: Mon, 7 Jan 2019 23:27:56 +0000 Subject: [PATCH] added mixed SVector/scalar arithmetic operations --- src/mmath/svector.nim | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/mmath/svector.nim b/src/mmath/svector.nim index c98abe7..db3d89c 100644 --- a/src/mmath/svector.nim +++ b/src/mmath/svector.nim @@ -12,6 +12,38 @@ proc buildSVector*[SIZE, T](elems : varargs[T]) : SVector[SIZE, T] = for i in 0..