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-08-24 03:26:59 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-08-24 03:32:57 +0300
commit0cf12dfc14f8312d9fe9db1d512dfb55104f6ac6 (patch)
tree008d2986e3d31ce851749c65272492b49d18647e /source/blender/draw/intern/draw_cache.c
parent1c63a3a100414f504b25571fd0b8fd29af42922c (diff)
Cleanup: indentation, style
Diffstat (limited to 'source/blender/draw/intern/draw_cache.c')
-rw-r--r--source/blender/draw/intern/draw_cache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/draw/intern/draw_cache.c b/source/blender/draw/intern/draw_cache.c
index 03c3e1ff16e..c4214b436f1 100644
--- a/source/blender/draw/intern/draw_cache.c
+++ b/source/blender/draw/intern/draw_cache.c
@@ -341,9 +341,9 @@ GPUBatch *DRW_cache_grid_get(void)
for (int i = 0; i < 8; ++i) {
for (int j = 0; j < 8; ++j) {
float pos0[2] = {(float)i / 8.0f, (float)j / 8.0f};
- float pos1[2] = {(float)(i+1) / 8.0f, (float)j / 8.0f};
- float pos2[2] = {(float)i / 8.0f, (float)(j+1) / 8.0f};
- float pos3[2] = {(float)(i+1) / 8.0f, (float)(j+1) / 8.0f};
+ float pos1[2] = {(float)(i + 1) / 8.0f, (float)j / 8.0f};
+ float pos2[2] = {(float)i / 8.0f, (float)(j + 1) / 8.0f};
+ float pos3[2] = {(float)(i + 1) / 8.0f, (float)(j + 1) / 8.0f};
madd_v2_v2v2fl(pos0, (float[2]){-1.0f, -1.0f}, pos0, 2.0f);
madd_v2_v2v2fl(pos1, (float[2]){-1.0f, -1.0f}, pos1, 2.0f);