#include "CXCtrlMan.h"
#include "CXControlState.h"
void CSampleDlg::OnSmRotation()
{
CXControlState ctrlstate = ctrlman.GetControlState();
CXVector vector = ctrlstate.GetRotate();
vector.SetZ(vector.GetZ() + 10);
ctrlstate.SetRotate(vector);
}
void CSampleDlg::OnSmRotationdefault()
{
CXControlState ctrlstate = ctrlman.GetControlState();
CXVector vector = ctrlstate.GetRotate();
vector.SetZ(0);
ctrlstate.SetRotate(vector);
}