diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-10 17:23:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-10 17:23:31 +0400 |
commit | e8772477894a6fd8c09488b488fdcc1af432da1b (patch) | |
tree | 9e26bbf5bb90d8fbf1c1b28d92cca2cc2bbb2802 /source/blender/compositor/operations/COM_BokehImageOperation.h | |
parent | fea0e60227825ea917e59348f1be10bd9caeabb4 (diff) |
use define for bokeh blur size, also define size of determineResolution args.
Diffstat (limited to 'source/blender/compositor/operations/COM_BokehImageOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_BokehImageOperation.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/compositor/operations/COM_BokehImageOperation.h b/source/blender/compositor/operations/COM_BokehImageOperation.h index a797d0fca53..5be4e033ea0 100644 --- a/source/blender/compositor/operations/COM_BokehImageOperation.h +++ b/source/blender/compositor/operations/COM_BokehImageOperation.h @@ -30,8 +30,6 @@ private: NodeBokehImage *m_data; float m_center[2]; - float m_centerX; - float m_centerY; float m_inverseRounding; float m_circularDistance; float m_flapRad; @@ -59,7 +57,7 @@ public: */ void deinitExecution(); - void determineResolution(unsigned int resolution[], unsigned int preferredResolution[]); + void determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2]); void setData(NodeBokehImage *data) { this->m_data = data; } void deleteDataOnFinish() { this->m_deleteData = true; } |