quote:Original post by Anonymous Poster
What you should do in 2d is that you calculate center for every triangle and for the whole object(if you want to rotate it around mass center). Then you get the I by calculating the triange_density * (Center - triangle_center)^2 * area_of_triangle, and then sum all these together.
I meant triange_density * (Center - triangle_center)^2 * area_of_triangle for every triangle.