Height of a object

I’m using OpenGL for displaying a VRML Modell, I need a function which return the height of the object
Thanks

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)

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.

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).

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!

oh, all right… I apologise for being overtly flippant.
<looks dutifully apologetic>

Don´t take this as an offense, it was ment ironic.