summaryrefslogtreecommitdiffstats
path: root/tests/libdimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-08-14 18:05:59 -0600
committerTavian Barnes <tavianator@gmail.com>2010-08-14 18:05:59 -0600
commit97efd0601d412131635766fa221ddb946e05b337 (patch)
tree3b9819a06fdd7e18658a751a342449de7a11ea42 /tests/libdimension
parentea6ea322433b583df411d4a5643115e5cff7ebd5 (diff)
downloaddimension-97efd0601d412131635766fa221ddb946e05b337.tar.xz
Support closed cylinders.
Diffstat (limited to 'tests/libdimension')
-rw-r--r--tests/libdimension/render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libdimension/render.c b/tests/libdimension/render.c
index 7a55320..3f4525d 100644
--- a/tests/libdimension/render.c
+++ b/tests/libdimension/render.c
@@ -106,11 +106,11 @@ dmnsn_new_test_scene(void)
plane->texture->pigment = dmnsn_new_solid_pigment(dmnsn_white);
dmnsn_array_push(scene->objects, &plane);
- dmnsn_object *cylinder = dmnsn_new_cylinder();
+ dmnsn_object *cylinder = dmnsn_new_cylinder(false);
cylinder->trans =
dmnsn_matrix_mul(
dmnsn_rotation_matrix(dmnsn_new_vector(dmnsn_radians(-45.0), 0.0, 0.0)),
- dmnsn_scale_matrix(dmnsn_new_vector(0.1, 1.5, 0.1))
+ dmnsn_scale_matrix(dmnsn_new_vector(0.1, 1.25, 0.1))
);
cylinder->texture = dmnsn_new_texture();
cylinder->texture->pigment = dmnsn_new_solid_pigment(dmnsn_red);