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:
authorMike Erwin <significant.bit@gmail.com>2016-08-12 10:23:12 +0300
committerMike Erwin <significant.bit@gmail.com>2016-08-13 00:20:21 +0300
commitdfbc51f764a8f7e51b9982253685142b8624e8f8 (patch)
tree513a4c9b99ca199252d64ff9d3b2e4260a3dcecf /source/blender/gpu/intern/gpu_immediate.c
parent4565f3d0c823e08780ea00375285c437b95911ca (diff)
cleanup: ortho grid drawing
Getting this ready for Gawain treatment. Removed setlinestyle(0) -- solid lines are the default, hope this isn't really needed. Eliminated redundant math. Arithmetic is still double precision, passed to OpenGL as single precision. Even though it said GL_DOUBLE before, values were converted to GL_FLOAT internally. Use C99-isms for declaring variables close to where they're used. Minor whitespace tweaks.
Diffstat (limited to 'source/blender/gpu/intern/gpu_immediate.c')
0 files changed, 0 insertions, 0 deletions