diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /intern/cycles/subd/subd_split.h | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (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 'intern/cycles/subd/subd_split.h')
-rw-r--r-- | intern/cycles/subd/subd_split.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/intern/cycles/subd/subd_split.h b/intern/cycles/subd/subd_split.h index 3368c93944b..6e68d8ee598 100644 --- a/intern/cycles/subd/subd_split.h +++ b/intern/cycles/subd/subd_split.h @@ -35,25 +35,25 @@ class Patch; #define DSPLIT_NON_UNIFORM -1 class DiagSplit { -public: - vector<QuadDice::SubPatch> subpatches_quad; - vector<QuadDice::EdgeFactors> edgefactors_quad; + public: + vector<QuadDice::SubPatch> subpatches_quad; + vector<QuadDice::EdgeFactors> edgefactors_quad; - SubdParams params; + SubdParams params; - explicit DiagSplit(const SubdParams& params); + explicit DiagSplit(const SubdParams ¶ms); - float3 to_world(Patch *patch, float2 uv); - int T(Patch *patch, float2 Pstart, float2 Pend); - void partition_edge(Patch *patch, float2 *P, int *t0, int *t1, - float2 Pstart, float2 Pend, int t); + float3 to_world(Patch *patch, float2 uv); + int T(Patch *patch, float2 Pstart, float2 Pend); + void partition_edge( + Patch *patch, float2 *P, int *t0, int *t1, float2 Pstart, float2 Pend, int t); - void dispatch(QuadDice::SubPatch& sub, QuadDice::EdgeFactors& ef); - void split(QuadDice::SubPatch& sub, QuadDice::EdgeFactors& ef, int depth=0); + void dispatch(QuadDice::SubPatch &sub, QuadDice::EdgeFactors &ef); + void split(QuadDice::SubPatch &sub, QuadDice::EdgeFactors &ef, int depth = 0); - void split_quad(Patch *patch, QuadDice::SubPatch *subpatch=NULL); + void split_quad(Patch *patch, QuadDice::SubPatch *subpatch = NULL); }; CCL_NAMESPACE_END -#endif /* __SUBD_SPLIT_H__ */ +#endif /* __SUBD_SPLIT_H__ */ |