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:
authorCampbell Barton <ideasman42@gmail.com>2018-12-12 04:50:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-12 04:50:58 +0300
commite757c4a3bec8b0e8d198531a28327332af00a9ba (patch)
tree4707fd51cffdbe932123a29bbcfe4528fc9c2b55 /source/blender/compositor/operations/COM_BokehImageOperation.h
parentba8d6ca3dd92eed5d679caa28f5446cd07b8a112 (diff)
Cleanup: use colon separator after parameter
Helps separate variable names from descriptive text. Was already used in some parts of the code, double space and dashes were used elsewhere.
Diffstat (limited to 'source/blender/compositor/operations/COM_BokehImageOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_BokehImageOperation.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/compositor/operations/COM_BokehImageOperation.h b/source/blender/compositor/operations/COM_BokehImageOperation.h
index c4616e5fecb..510ff6377a0 100644
--- a/source/blender/compositor/operations/COM_BokehImageOperation.h
+++ b/source/blender/compositor/operations/COM_BokehImageOperation.h
@@ -90,18 +90,18 @@ private:
/**
* \brief determine the coordinate of a flap cornder
*
- * \param r result in bokehimage space are stored [x,y]
- * \param flapNumber the flap number to calculate
- * \param distance the lens distance is used to simulate lens shifts
+ * \param r: result in bokehimage space are stored [x,y]
+ * \param flapNumber: the flap number to calculate
+ * \param distance: the lens distance is used to simulate lens shifts
*/
void detemineStartPointOfFlap(float r[2], int flapNumber, float distance);
/**
* \brief Determine if a coordinate is inside the bokeh image
*
- * \param distance the distance that will be used. This parameter is modified a bit to mimic lens shifts
- * \param x the x coordinate of the pixel to evaluate
- * \param y the y coordinate of the pixel to evaluate
+ * \param distance: the distance that will be used. This parameter is modified a bit to mimic lens shifts
+ * \param x: the x coordinate of the pixel to evaluate
+ * \param y: the y coordinate of the pixel to evaluate
* \return float range 0..1 0 is completely outside
*/
float isInsideBokeh(float distance, float x, float y);
@@ -125,14 +125,14 @@ public:
/**
* \brief determine the resolution of this operation. currently fixed at [COM_BLUR_BOKEH_PIXELS, COM_BLUR_BOKEH_PIXELS]
- * \param resolution
- * \param preferredResolution
+ * \param resolution:
+ * \param preferredResolution:
*/
void determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2]);
/**
* \brief set the node data
- * \param data
+ * \param data:
*/
void setData(NodeBokehImage *data) { this->m_data = data; }