nglviewer / ngl

WebGL protein viewer
http://nglviewer.org/ngl/
MIT License
657 stars 168 forks source link

Updating shapeComponent or Buffer #981

Closed britesma closed 4 months ago

britesma commented 1 year ago

I am kinda new to NGL and I am trying to understand the best way to update for example the radius of a custom geometry made with the shapeComponent or Buffer. Is there a specific method to use in order to update for example the radius of a cone or its position1 ? Or do I have to remove it and re-draw it with updated values?

Thank you!

britesma commented 4 months ago

Figured it out!