コード例 #1
0
ファイル: Path.cpp プロジェクト: mertkasar/orbit-td
void Path::forward() {
    if (!eop()) {
        _index++;

        _currentWaypoint = _nextWaypoint;
        _nextWaypoint = _waypoints.at(_index);
    }
}
コード例 #2
0
ファイル: reg.hpp プロジェクト: avakar/cpp2sir
	enode & operator()(eop_type type, cfg::op_id id)
	{
		ops.push_back(eop(type, id));
		return *this;
	}
コード例 #3
0
ファイル: reg.hpp プロジェクト: avakar/cpp2sir
	jump_sentinel(cfg::vertex_descriptor sentinel, eop const & value = eop())
		: sentinel(sentinel), value(value)
	{
	}