use fat lines for trace selection and rendering. fix trace offset when toggling in/out to none

This commit is contained in:
Stewart Allen 2024-08-16 22:44:07 -04:00
commit e3f1c9c52e
4 changed files with 31 additions and 13 deletions

View file

@ -64,7 +64,7 @@ class Layers {
rotation: this.rotation,
position: this.position,
off: off === true,
lines: [],
lines: [], // basic line segments
polys: [], // colors are an attribute on polygons
faces: [], // triangles for areas and flats
norms: undefined, // flats vertex normals
@ -72,7 +72,7 @@ class Layers {
paths: undefined, // 3d extrusion / tube paths (used to be an array, now merged - FIX)
cpath: undefined, // path colors indices
color: colors || {
check: 0, // unused?
fat: 0, // render polys & lines with thickness
line: 0,
face: 0,
opacity: 1