Tricky Geometry...

Blitz3D Forums/Blitz3D Programming/Tricky Geometry...

"sswift, am i right in assuming that to find the centre of the triangle you need to find two midpoints thenfind where in 3d space they intersect?"


I don't know, and you are not being very specifc. If you check out that mathword site there's LOTS of different "centers" for triangles which you can find.

Which you actually need depends on what you want to use it for.

You can find one center by drawing lines from the center of each side perpendicular to the side and dtermining where they intersect. You can find another "center" by finding the circumcenter. Then there's the center of mass which you can get just by averaging the locations of the points.

So you need to be more specific waht you want to do with it.