Reputation: 3462
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
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