From e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 17 Apr 2019 06:17:24 +0200 Subject: 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 --- .../blender/render/extern/include/RE_render_ext.h | 39 ++++++++++++---------- 1 file changed, 22 insertions(+), 17 deletions(-) (limited to 'source/blender/render/extern/include/RE_render_ext.h') 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); -- cgit v1.2.3