GPU: add negated normal conversion functions
authorCampbell Barton <ideasman42@gmail.com>
Thu, 3 Jan 2019 05:56:16 +0000 (16:56 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 3 Jan 2019 05:56:16 +0000 (16:56 +1100)
commitd28b29d428cc7fc7eb29f2302b5d80fc63a9f870
tree50fbd244dddfd2419a7be61926ce52a1039d1589
parent6cb39720638735e0517c82ffe9698b5cb31060d9
GPU: add negated normal conversion functions

Saves having to negate to a temporary variable.
source/blender/gpu/GPU_vertex_format.h
source/blender/gpu/intern/gpu_vertex_format.c