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-09-11 22:57:18 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-11 22:57:31 +0300
commit6c6c3bad02d0f6f9c3deee40f403bb4f48ff7f26 (patch)
treecae4cb040a1627eba2120c8262ce799b2e491d78 /source/blender/blenkernel/intern/subdiv_ccg.c
parentd49591654701b032bfea31b487941c7187ddd4a7 (diff)
Cleanup: style
Diffstat (limited to 'source/blender/blenkernel/intern/subdiv_ccg.c')
-rw-r--r--source/blender/blenkernel/intern/subdiv_ccg.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/subdiv_ccg.c b/source/blender/blenkernel/intern/subdiv_ccg.c
index 33785c09936..9f44ce0d090 100644
--- a/source/blender/blenkernel/intern/subdiv_ccg.c
+++ b/source/blender/blenkernel/intern/subdiv_ccg.c
@@ -180,9 +180,10 @@ static void subdiv_ccg_eval_grid_element(
}
}
-BLI_INLINE void rotate_corner_to_quad(const int corner,
- const float u, const float v,
- float *r_u, float *r_v)
+BLI_INLINE void rotate_corner_to_quad(
+ const int corner,
+ const float u, const float v,
+ float *r_u, float *r_v)
{
if (corner == 0) {
*r_u = 0.5f - v * 0.5f;
@@ -281,9 +282,10 @@ static void subdiv_ccg_eval_grids_task(
}
}
-static bool subdiv_ccg_evaluate_grids(SubdivCCG *subdiv_ccg,
- Subdiv *subdiv,
- const Mesh *coarse_mesh)
+static bool subdiv_ccg_evaluate_grids(
+ SubdivCCG *subdiv_ccg,
+ Subdiv *subdiv,
+ const Mesh *coarse_mesh)
{
/* Make sure evaluator is ready. */
if (!BKE_subdiv_eval_update_from_mesh(subdiv, coarse_mesh)) {