Rotate sprites using a direction vector