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>2019-04-17 07:17:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-17 07:21:24 +0300
commite12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch)
tree8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/render/extern/include/RE_render_ext.h
parentb3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff)
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/render/extern/include/RE_render_ext.h')
-rw-r--r--source/blender/render/extern/include/RE_render_ext.h39
1 files changed, 22 insertions, 17 deletions
diff --git a/source/blender/render/extern/include/RE_render_ext.h b/source/blender/render/extern/include/RE_render_ext.h
index dd457751545..6771eb53abd 100644
--- a/source/blender/render/extern/include/RE_render_ext.h
+++ b/source/blender/render/extern/include/RE_render_ext.h
@@ -20,7 +20,6 @@
* \ingroup render
*/
-
#ifndef __RE_RENDER_EXT_H__
#define __RE_RENDER_EXT_H__
@@ -38,10 +37,19 @@ struct ViewLayer;
/* render_texture.c */
/* used by particle.c, effect.c, editmesh_modes.c and brush.c, returns 1 if rgb, 0 otherwise */
-int externtex(
- const struct MTex *mtex, const float vec[3], float *tin, float *tr, float *tg, float *tb, float *ta,
- const int thread, struct ImagePool *pool, const bool skip_load_image, const bool texnode_preview);
-void texture_rgb_blend(float in[3], const float tex[3], const float out[3], float fact, float facg, int blendtype);
+int externtex(const struct MTex *mtex,
+ const float vec[3],
+ float *tin,
+ float *tr,
+ float *tg,
+ float *tb,
+ float *ta,
+ const int thread,
+ struct ImagePool *pool,
+ const bool skip_load_image,
+ const bool texnode_preview);
+void texture_rgb_blend(
+ float in[3], const float tex[3], const float out[3], float fact, float facg, int blendtype);
float texture_value_blend(float tex, float out, float fact, float facg, int blendtype);
void RE_texture_rng_init(void);
@@ -53,20 +61,17 @@ void ibuf_sample(struct ImBuf *ibuf, float fx, float fy, float dx, float dy, flo
/* pointdensity.c */
struct PointDensity;
-void RE_point_density_cache(
- struct Depsgraph *depsgraph,
- struct PointDensity *pd);
+void RE_point_density_cache(struct Depsgraph *depsgraph, struct PointDensity *pd);
-void RE_point_density_minmax(
- struct Depsgraph *depsgraph,
- struct PointDensity *pd,
- float r_min[3], float r_max[3]);
+void RE_point_density_minmax(struct Depsgraph *depsgraph,
+ struct PointDensity *pd,
+ float r_min[3],
+ float r_max[3]);
-void RE_point_density_sample(
- struct Depsgraph *depsgraph,
- struct PointDensity *pd,
- const int resolution,
- float *values);
+void RE_point_density_sample(struct Depsgraph *depsgraph,
+ struct PointDensity *pd,
+ const int resolution,
+ float *values);
void RE_point_density_free(struct PointDensity *pd);