Draw Sphere and Cylinder

Posted by ronypaul77 on
URL: https://forum.jogamp.org/Draw-Sphere-and-Cylinder-tp4025194.html


I want to draw a 3D sphere/Ball with a given center (x,y,z)

and a 3D Cylinder around a line given by 2 ponits (x1,y1,z1) and (x2,y2,z2).

I can't find the exact methods for doing the tasks. Can Anyone help me regarding that!!

Thanks in Advance..