From 38dc85f296a27a5641d296c8f41834db41dac18b Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Mon, 20 May 2013 14:38:47 +0000 Subject: Math Node: * Added a Modulo operation to the math node, available in Compositor, Shader and Texture Nodes. --- source/blender/compositor/operations/COM_MathBaseOperation.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/blender/compositor/operations/COM_MathBaseOperation.h') diff --git a/source/blender/compositor/operations/COM_MathBaseOperation.h b/source/blender/compositor/operations/COM_MathBaseOperation.h index febfa9662c6..649a9688037 100644 --- a/source/blender/compositor/operations/COM_MathBaseOperation.h +++ b/source/blender/compositor/operations/COM_MathBaseOperation.h @@ -157,4 +157,10 @@ public: void executePixel(float output[4], float x, float y, PixelSampler sampler); }; +class MathModuloOperation : public MathBaseOperation { +public: + MathModuloOperation() : MathBaseOperation() {} + void executePixel(float output[4], float x, float y, PixelSampler sampler); +}; + #endif -- cgit v1.2.3