diff options
author | Campbell Barton <campbell@blender.org> | 2022-10-06 04:12:09 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-10-06 04:13:00 +0300 |
commit | 87d737cd792183d409760ab1f0a778abb9f1daa3 (patch) | |
tree | 14e4a18e75eb3adc20e1b5579ab4fa27cadeb839 /source/blender/draw/engines/overlay/shaders/overlay_paint_wire_vert.glsl | |
parent | 51bd26d0faad306183c58bff0865b72cf99fbe90 (diff) |
Cleanup: spelling in code comments
Diffstat (limited to 'source/blender/draw/engines/overlay/shaders/overlay_paint_wire_vert.glsl')
-rw-r--r-- | source/blender/draw/engines/overlay/shaders/overlay_paint_wire_vert.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/engines/overlay/shaders/overlay_paint_wire_vert.glsl b/source/blender/draw/engines/overlay/shaders/overlay_paint_wire_vert.glsl index 749cc92f082..f34133596b1 100644 --- a/source/blender/draw/engines/overlay/shaders/overlay_paint_wire_vert.glsl +++ b/source/blender/draw/engines/overlay/shaders/overlay_paint_wire_vert.glsl @@ -10,8 +10,8 @@ void main() vec3 world_pos = point_object_to_world(pos); gl_Position = point_world_to_ndc(world_pos); - /* Add offset in Z to avoid zfighting and render selected wires on top. */ - /* TODO: scale this bias using znear and zfar range. */ + /* Add offset in Z to avoid Z-fighting and render selected wires on top. */ + /* TODO: scale this bias using Z-near and Z-far range. */ gl_Position.z -= (is_select ? 2e-4 : 1e-4); if (is_hidden) { |