oframe / ogl

Minimal WebGL Library
https://oframe.github.io/ogl/examples
3.71k stars 211 forks source link

How to make pipe geometry? #165

Closed caracal7 closed 1 year ago

caracal7 commented 1 year ago

Like cylinder but with hole inside

gordonnl commented 1 year ago

There is no geometry helper currently for creating a pipe, sorry!

caracal7 commented 1 year ago

I took a close look at the Cylinder.js code and it can easily be modified to pipe. The code is clean and intuitive.

Thanks for the great library!