Skip to content

Commit 0fde486

Browse files
committed
deprecated FrameRateController
1 parent b2af3d0 commit 0fde486

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

include/oryx/chrono/frame_rate_controller.hpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,9 @@
44

55
#include <oryx/chrono/stopwatch.hpp>
66

7-
// TODO: Replace this with a CycleTimeController and add a MakeFrameRateController which just calculates the target
8-
// cycle duration like in the current constructor. Then this can also be used to hold a specific cycle time like we
9-
// already to in PathFindingCpp
10-
117
namespace oryx::chrono {
128

13-
class FrameRateController {
9+
class [[deprecated("Depreacted in favor of MakeFrameRateTimer() from cycle_timer.hpp")]] FrameRateController {
1410
public:
1511
explicit FrameRateController(int target_fps);
1612
auto Sleep() -> bool;

0 commit comments

Comments
 (0)