From the docs:
using Meshes, MeshViz
import GLMakie as Mke
c = Cylinder(1.0)
viz(c)
Here is a collection of random cylinders:
cs = [Cylinder(1.0, Segment(rand(Point3, 2))) for i=1:3]
viz(cs, color=1:3)
From the docs:
using Meshes, MeshViz
import GLMakie as Mke
c = Cylinder(1.0)
viz(c)
Here is a collection of random cylinders:
cs = [Cylinder(1.0, Segment(rand(Point3, 2))) for i=1:3]
viz(cs, color=1:3)