29 using namespace PlatformGroup;
39 float radian = ((
float)in.getDegrees()) / 180.0 *
M_PI;
40 if (in.getDirection() ==
"right")
44 else if (!(in.getDirection() ==
"left"))
47 <<
" is not a valid direction. Valid directions are: left, right";
50 Vector3 rotation(0.0f, 0.0f, radian);
51 local.setRotation(rotation);