Skip to content

Commit cd88b2e

Browse files
committed
Add missing scaling of cylinders
1 parent 201c1ee commit cd88b2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎mcxtrace-comps/misc/Text.comp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ MCDISPLAY %{
172172
double len = sqrt(dx*dx + dy*dy + dz*dz);
173173
if (len > 0)
174174
cylinder(0.5*(prevx + x), 0.5*(prevy + y), 0.5*(prevz + z),
175-
0.5*pen_thickness, len, 0,
175+
0.5*size*pen_thickness, len, 0,
176176
dx/len, dy/len, dz/len);
177177
} else
178178
line(prevx, prevy, prevz, x, y, z);

0 commit comments

Comments
 (0)