   Translate camera not object
  This is probably a really easy question but anyways...I need to find the distance from the center of a (translated) triangle to the camera. To do this I need to manually translate each vertex into the correct position without hardware acceleration which isn't exactly fast. So instead I was thinging I would apply the opposite translations to the camera because the distances to all the vertices would be the same that way. Like this.And it would have to include scaling as well. So basically the camera is in the same relative position to the object if it were the object that would have moved.How do I do this with matrices? Thanks.   
  You do the opposite transformation on the camera's location by multiplying it by the inverse of the triangle's transformation matrix.   ;  Oh... well that sounds really easy! Thanks.   