Skip to content

Commit

Permalink
Small optimization.
Browse files Browse the repository at this point in the history
  • Loading branch information
kring committed Apr 1, 2020
1 parent 40c11cf commit a0c08e4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Source/Shaders/PolylineCommon.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,6 @@ vec4 getPolylineWindowCoordinatesEC(vec4 positionEC, vec4 prevEC, vec4 nextEC, f
vec4 clippedPositionWC, clippedPositionEC;
clipLineSegmentToNearPlane(positionEC.xyz, usePrevious ? prevEC.xyz : nextEC.xyz, clippedPositionWC, segmentClipped, segmentCulled, clippedPositionEC);

#ifdef LOG_DEPTH
czm_vertexLogDepth(czm_projection * clippedPositionEC);
#endif

if (segmentCulled)
{
return vec4(0.0, 0.0, 0.0, 1.0);
Expand Down

0 comments on commit a0c08e4

Please sign in to comment.