diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-11-18 23:30:38 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-11-18 23:30:38 -0500 |
commit | 5038d1f96af332e474a1e0a076bf5dead6855727 (patch) | |
tree | 128921e3bbdc29046695ac4d9c9fb8d7535bc49a /tests/libdimension | |
parent | c576229cc54c0fb963967751281e6a42fc9230ea (diff) | |
download | dimension-5038d1f96af332e474a1e0a076bf5dead6855727.tar.xz |
Translucency support.
Diffstat (limited to 'tests/libdimension')
-rw-r--r-- | tests/libdimension/tests.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/libdimension/tests.c b/tests/libdimension/tests.c index b2670f8..c0bd11f 100644 --- a/tests/libdimension/tests.c +++ b/tests/libdimension/tests.c @@ -109,7 +109,10 @@ dmnsn_new_default_scene() return NULL; } - cube->texture->pigment = dmnsn_new_solid_pigment(dmnsn_magenta); + dmnsn_color cube_color = dmnsn_magenta; + cube_color.filter = 0.25; + cube_color.trans = 0.25; + cube->texture->pigment = dmnsn_new_solid_pigment(cube_color); if (!cube->texture->pigment) { dmnsn_delete_scene(scene); return NULL; |