Skip to content

Commit d63829a

Browse files
committed
Deactivate frustumCulled option for lines
1 parent df13b03 commit d63829a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drawings/simple_graph.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,10 @@ Drawing.SimpleGraph = function(options) {
236236
line.scale.x = line.scale.y = line.scale.z = 1;
237237
line.originalScale = 1;
238238

239+
// NOTE: Deactivated frustumCulled, otherwise it will not draw all lines (even though
240+
// it looks like the lines are in the view frustum).
241+
line.frustumCulled = false;
242+
239243
geometries.push(tmp_geo);
240244

241245
scene.add( line );

0 commit comments

Comments
 (0)