Skip to content

Commit

Permalink
don't overflow line texture U coordinate
Browse files Browse the repository at this point in the history
  • Loading branch information
bcamper committed May 3, 2019
1 parent bcd6754 commit f2b4957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builders/polylines.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const JOIN_TYPE = {

const DEFAULT_MITER_LIMIT = 3;
const MIN_FAN_WIDTH = 5; // Width of line in tile units to place 1 triangle per fan
const TEXCOORD_NORMALIZE = 65536; // Scaling factor for UV attribute values
const TEXCOORD_NORMALIZE = 65535; // Scaling factor for UV attribute values

// Scaling factor to add precision to line texture V coordinate packed as normalized short
const V_SCALE_ADJUST = Geo.tile_scale;
Expand Down

0 comments on commit f2b4957

Please sign in to comment.