comparison tests/test_matrix.nim @ 57:547f3a374271

did: refactor Vector names
author Sam <sam@basx.dev>
date Fri, 20 Jan 2023 16:13:32 +0700
parents 9edca5dc4e93
children 8287a91e5d56
comparison
equal deleted inserted replaced
56:94d7eed3f118 57:547f3a374271
1 import random 1 import random
2 import math 2 import math
3 3
4 import zamikongine/math/vector 4 import semicongine/math/vector
5 import zamikongine/math/matrix 5 import semicongine/math/matrix
6 6
7 7
8 proc echoInfo(v: Vec) = 8 proc echoInfo(v: TVec) =
9 echo v 9 echo v
10 echo " Length: ", v.length 10 echo " Length: ", v.length
11 echo " Normlized: ", v.normalized 11 echo " Normlized: ", v.normalized
12 echo " negated: ", -v 12 echo " negated: ", -v
13 13