comparison tests/test_matrix.nim @ 493:680c4b8ca28a

add: working implementation of uniforms
author Sam <sam@basx.dev>
date Sat, 14 Jan 2023 23:34:50 +0700
parents f226c99b5043
children 547f3a374271
comparison
equal deleted inserted replaced
492:d63d980fa3bb 493:680c4b8ca28a
1 import random 1 import random
2 import math 2 import math
3 3
4 import vector 4 import zamikongine/math/vector
5 import matrix 5 import zamikongine/math/matrix
6 6
7 7
8 proc echoInfo(v: Vec) = 8 proc echoInfo(v: Vec) =
9 echo v 9 echo v
10 echo " Length: ", v.length 10 echo " Length: ", v.length