Allow users to access mjrContext.
PiperOrigin-RevId: 836641787 Change-Id: I2f2aee30a047336d1adbe33b7996fee3ec845213
This commit is contained in:
committed by
Copybara-Service
parent
f28bcc4346
commit
d8712808b9
@@ -58,6 +58,9 @@ class Renderer {
|
||||
// Returns the current, average frame rate.
|
||||
double GetFrameRate() const { return fps_; }
|
||||
|
||||
// Returns the render context.
|
||||
const mjrContext& GetContext() const { return render_context_; }
|
||||
|
||||
private:
|
||||
using TimePoint = std::chrono::time_point<std::chrono::steady_clock>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user