PDA

View Full Version : Height of a object



DiegoC
07-07-2003, 12:14 AM
I'm using OpenGL for displaying a VRML Modell, I need a function which return the height of the object
Thanks

john
07-07-2003, 12:17 AM
we of the rocket surgery and brain science lab reckon you should do

1. find the vertex with the greatest y component
2. find the vertex with the lowest y component
3. the height is (1)-(2)

billy
07-07-2003, 12:43 AM
Originally posted by john:
we of the rocket surgery and brain science lab reckon you should do


Just answer the question. You don't need to show off.

john
07-07-2003, 02:53 AM
No, I don't need to show off; that comes for FREE!! (Although you do need to pay more in the [B]beginners[\b] forum).

Jan
07-07-2003, 03:55 AM
Well, he is a really intelligent person. Would you have known how to calculate the height?
If he has such a great knowledge, i think he has the right to show off. And since he is so generous to share his knowledge with us unworthy creatures, we should worship him forever.

Hail to the king, baby!

john
07-07-2003, 04:22 AM
oh, all right... I apologise for being overtly flippant.
<looks dutifully apologetic>

Jan
07-07-2003, 05:31 AM
Donīt take this as an offense, it was ment ironic.