From 8b51bd61fd20fca6654de74f7e4c304cebd6bc5b Mon Sep 17 00:00:00 2001 From: Chris Blackbourn Date: Sun, 7 Aug 2022 10:09:31 +1200 Subject: Cleanup: make format --- source/blender/geometry/intern/uv_parametrizer.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'source/blender/geometry') diff --git a/source/blender/geometry/intern/uv_parametrizer.cc b/source/blender/geometry/intern/uv_parametrizer.cc index efda55e2669..ae2794bf9bc 100644 --- a/source/blender/geometry/intern/uv_parametrizer.cc +++ b/source/blender/geometry/intern/uv_parametrizer.cc @@ -3666,7 +3666,8 @@ static void p_chart_rotate_minimum_area(PChart *chart) static void p_chart_rotate_fit_aabb(PChart *chart) { - float(*points)[2] = static_cast(MEM_mallocN(sizeof(*points) * chart->nverts, __func__)); + float(*points)[2] = static_cast( + MEM_mallocN(sizeof(*points) * chart->nverts, __func__)); p_chart_uv_to_array(chart, points); @@ -3827,8 +3828,10 @@ static void p_add_ngon(ParamHandle *handle, MemArena *arena = handle->polyfill_arena; Heap *heap = handle->polyfill_heap; uint nfilltri = nverts - 2; - uint(*tris)[3] = static_cast(BLI_memarena_alloc(arena, sizeof(*tris) * (size_t)nfilltri)); - float(*projverts)[2] = static_cast(BLI_memarena_alloc(arena, sizeof(*projverts) * (size_t)nverts)); + uint(*tris)[3] = static_cast( + BLI_memarena_alloc(arena, sizeof(*tris) * (size_t)nfilltri)); + float(*projverts)[2] = static_cast( + BLI_memarena_alloc(arena, sizeof(*projverts) * (size_t)nverts)); /* Calc normal, flipped: to get a positive 2d cross product. */ float normal[3]; -- cgit v1.2.3