void motion (int x, int y) { if ((float)x != scrn_change.pos_begin[0]) set_rotate (x, 0); if ((float)y != scrn_change.pos_begin[1]) set_rotate (y, 1); glutPostRedisplay (); }
int main(){ char c; while((c = getchar()) != EOF){ set_rotate(2); c = rotate(c); putchar(c); } return 0; }
bool PathFollow2D::_set(const StringName& p_name, const Variant& p_value) { if (p_name==SceneStringNames::get_singleton()->offset) { set_offset(p_value); } else if (p_name==SceneStringNames::get_singleton()->unit_offset) { set_unit_offset(p_value); } else if (p_name==SceneStringNames::get_singleton()->rotate) { set_rotate(p_value); } else if (p_name==SceneStringNames::get_singleton()->v_offset) { set_v_offset(p_value); } else if (p_name==SceneStringNames::get_singleton()->h_offset) { set_h_offset(p_value); } else if (String(p_name)=="cubic_interp") { set_cubic_interpolation(p_value); } else if (String(p_name)=="loop") { set_loop(p_value); } else if (String(p_name)=="lookahead") { set_lookahead(p_value); } else return false; return true; }