I just can't seem to stop asking questions, can I?
Just wondering if lwjgl supported drawing quadratics (a.k.a. quadrics). And if so, where is it?
Yes it's supported.
Look at the org.lwjgl.opengl.clu package, there are classes like Sphere, Cylinders etc...
Chman
Do you mean the "glu" package? I can't find the clu one.
Update: I found the ones in the glu package, but for some reason can't get them to function (Eclipse doesn't even recognize them!). Could someone please offer some sample code on how they can be used.
Shamless bump and begging for previous request. :oops:
Well, I'll try answer... although I don't use them (I make the shapes in my engine myself) :roll:
To make a quadratic (say a Sphere):
Sphere sphere = new Sphere();
sphere.draw(1.0f, 10, 10);
That's all there is to it! :lol:
QuoteEclipse doesn't even recognize them!
What do you mean?
Finally got around to trying it....
Looks like I was just using the glu methods in a completely wrong fashion.
Thanks for the help!