Off the top of my head....
Code:
action shader_sprite()
{
	VECTOR tmpV;
	while(me)
	{
		vec_set(tmpV, camera.x); 
		vec_sub(tmpV, my.x);
		vec_to_angle(my.pan, tmpV);
	}
}




"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial