diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-05-22 14:22:07 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-05-22 14:22:07 -0600 |
commit | 1bf306d4d93cc21c220a3f31835023e49e84dd2d (patch) | |
tree | 436959a8321100a3c36e8eef9a19279cb446e1fa /libdimension-python/tests/geometry.py | |
parent | 0f0b704144bddc045657f7ed852b49d5e349b0bd (diff) | |
download | dimension-1bf306d4d93cc21c220a3f31835023e49e84dd2d.tar.xz |
Add cameras, objects, and spheres to Python module.
Diffstat (limited to 'libdimension-python/tests/geometry.py')
-rwxr-xr-x | libdimension-python/tests/geometry.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension-python/tests/geometry.py b/libdimension-python/tests/geometry.py index 9c79ef5..0c53ad6 100755 --- a/libdimension-python/tests/geometry.py +++ b/libdimension-python/tests/geometry.py @@ -63,12 +63,12 @@ assert str(m) == '\n' \ '[9.0\t10.0\t11.0\t12.0]\n' \ '[0.0\t0.0\t0.0\t1.0]', str(m) -s = scale(1, 2, 3) +s = scale(Vector(1, 2, 3)) assert s == Matrix(1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 3, 0), s -t = translate(x = 1, y = 2, z = 3) +t = translate((1, 2, 3)) assert t == Matrix(1, 0, 0, 1, 0, 1, 0, 2, 0, 0, 1, 3), t |