Added mesh rotation functions.