Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2015-01-29 21:23:45 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-01-29 21:23:57 +0300
commitebc064f5c0c9bc5a5f67c82ea564bf170d135bd0 (patch)
tree10d09df96b5d5bc0b0c958ae328cdddd19e6f4a7 /source/blender/imbuf/intern/divers.c
parent12a38abac6696992bc383a7745c4e15b316936d1 (diff)
Gooseberry request: Dithering support for byte images when painting on
projection painting (2D will be separate commit).
Diffstat (limited to 'source/blender/imbuf/intern/divers.c')
-rw-r--r--source/blender/imbuf/intern/divers.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/imbuf/intern/divers.c b/source/blender/imbuf/intern/divers.c
index 81aef4ac6e4..59d08128e5f 100644
--- a/source/blender/imbuf/intern/divers.c
+++ b/source/blender/imbuf/intern/divers.c
@@ -122,16 +122,6 @@ static void clear_dither_context(DitherContext *di)
MEM_freeN(di);
}
-MINLINE float dither_random_value(float s, float t)
-{
- static float vec[2] = {12.9898f, 78.233f};
- float st[2];
- float value;
- copy_v2_fl2(st, s, t);
-
- value = sinf(dot_v2v2(st, vec)) * 43758.5453f;
- return value - floorf(value);
-}
/************************* Generic Buffer Conversion *************************/