Do you have a code example of using this with c_rotate? I am already using c_rotate to adjust the pan on my model and I am trying to use your function to align my model with a slope in the same frame. I'm sure it's simple enough but I'm not getting it.