I am creating my own graphics library that does alpha-blending,

anti-aliasing, tri-linear buffering, and all that stuff (software based)....

My only problem is I need to know how to rotate around the objects center,

so i need to know how to rotate around the center of a triangle!! Right now,

it is rotating around the origin and looks horrible.

Does anyone know how to find the center point of a triangle from the

coordinates of 3 vertices?? And does anybody know the formula (without

matrices! !yikes!) to rotate an object around a specific point? Like if i

wanted to rotate a triangle around point (2,2,1)?? [x,y,z]

Thanx for your help!!