comparison tests/test_matrix.nim @ 518:5d406c17bbcb

did: refactor Vector names
author Sam <sam@basx.dev>
date Fri, 20 Jan 2023 16:13:32 +0700
parents 680c4b8ca28a
children 8287a91e5d56
comparison
equal deleted inserted replaced
517:836790efab48 518:5d406c17bbcb
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