diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-08-29 18:36:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-08-29 18:38:16 +0300 |
commit | 0efecba957eea45621c004217a76448f11f0376d (patch) | |
tree | 26a11c55c969a8c4389f9797f5e46b3d7ed186fc /source/blender/draw/engines/gpencil | |
parent | 21105e1b1f1266a3846462588bdbe840d09758ea (diff) | |
parent | 39eb05161690510ecec4c30129a9f8d5532d39c9 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/draw/engines/gpencil')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_render.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_render.c b/source/blender/draw/engines/gpencil/gpencil_render.c index 0b90de88ec1..3aa94c346df 100644 --- a/source/blender/draw/engines/gpencil/gpencil_render.c +++ b/source/blender/draw/engines/gpencil/gpencil_render.c @@ -143,12 +143,12 @@ static void GPENCIL_render_cache( static void GPENCIL_render_update_viewvecs(float invproj[4][4], float winmat[4][4], float(*r_viewvecs)[4]) { /* view vectors for the corners of the view frustum. - * Can be used to recreate the world space position easily */ + * Can be used to recreate the world space position easily */ float view_vecs[4][4] = { - { -1.0f, -1.0f, -1.0f, 1.0f }, - { 1.0f, -1.0f, -1.0f, 1.0f }, - { -1.0f, 1.0f, -1.0f, 1.0f }, - { -1.0f, -1.0f, 1.0f, 1.0f } + {-1.0f, -1.0f, -1.0f, 1.0f}, + {1.0f, -1.0f, -1.0f, 1.0f}, + {-1.0f, 1.0f, -1.0f, 1.0f}, + {-1.0f, -1.0f, 1.0f, 1.0f} }; /* convert the view vectors to view space */ |