Ramilol
Ramilol

Reputation: 3462

How do you find height of mesh object?

I need a way to find height of object(.x). Is there simple way without using some complex math, E.g con or sin.

Upvotes: 0

Views: 363

Answers (1)

ta.speot.is
ta.speot.is

Reputation: 27214

Is there simple way without using some complex math

For each vertex, store the min and max value of the dimension that represents height (For example, y). If this is still "complex math", then you can use D3DXComputeBoundingBox.

Upvotes: 3

Related Questions