Mercurial > games > semicongine
comparison tests/test_matrix.nim @ 32:9edca5dc4e93
add: working implementation of uniforms
author | Sam <sam@basx.dev> |
---|---|
date | Sat, 14 Jan 2023 23:34:50 +0700 |
parents | 617c6dcddbe2 |
children | 547f3a374271 |
comparison
equal
deleted
inserted
replaced
31:0996104ad066 | 32:9edca5dc4e93 |
---|---|
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 |