diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-12-04 18:43:52 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-12-04 19:07:48 -0500 |
commit | 176054363582b08aaf93bb4fcc0f26521c0f884c (patch) | |
tree | 98833973895f8b9838a1452156ec889f6a0f1dfd /dimension/tests/demo.dmnsn | |
parent | 003b3894abe2756541e9aac497058f491961bd17 (diff) | |
download | dimension-176054363582b08aaf93bb4fcc0f26521c0f884c.tar.xz |
Use a separate class for sRGB colors.
Diffstat (limited to 'dimension/tests/demo.dmnsn')
-rw-r--r-- | dimension/tests/demo.dmnsn | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dimension/tests/demo.dmnsn b/dimension/tests/demo.dmnsn index 3a04abc..75a97a7 100644 --- a/dimension/tests/demo.dmnsn +++ b/dimension/tests/demo.dmnsn @@ -33,7 +33,7 @@ background = PigmentMap( pattern = Gradient(Y), map = { 0: image_map, - 0.35: Color(0, 0.1, 0.2, trans = 0.1, filter = 0.0), + 0.35: sRGB(0, 0.1, 0.2, trans = 0.1, filter = 0.0), }, ) @@ -50,8 +50,8 @@ hollow_cube = Difference( (-1, -1, -1), (1, 1, 1), texture = Texture( - pigment = Color(0, 0, 1, trans = 0.75, filter = 1/3), - finish = Reflection(min = 0, max = 0.5), + pigment = sRGB(0, 0, 1, trans = 0.75, filter = 1/3), + finish = Reflection(min = 0, max = sRGB(0.5)), ), interior = Interior( ior = 1.1, |