THREE.MeshLine
THREE.MeshLine copied to clipboard
Lines made of 2 vertices not displayed on iOS
Hello!
Looks like there's a problem with one of the samples.
How to reproduce:
-
Open https://www.clicktorelease.com/code/THREE.MeshLine/demo/graph.html on iPad. I used iPad Pro 10.5, iOS version 11.3.1. Previous iOS version didn't work too.
-
On Desktop this sample displays 5 curved lines and 3 axis lines.
-
On iPad it displays just 5 curved lines. Axis lines not displayed.
I reproduced this problem with my iPhone on iOS 12.1.1. It seems like lines with 2 or 3 vertices don't render, but adding a fourth vertex allows it to work. Edit: Another interesting thing I found that may be related to this is that any line segment with vertex (0,0,0) doesn't render.