anyone got any sample code to do coordinate translation with respect to the origin and rotation about the origin?? thanks