add handles for text and image overlays

This commit is contained in:
andrew
2025-03-14 21:41:28 -04:00
parent f25fc63f0f
commit f02fdfe2d1
4 changed files with 111 additions and 3 deletions
+2
View File
@@ -253,6 +253,8 @@ class Simulate {
mjvScene* user_scn = nullptr;
mjtByte user_scn_flags_prev_[mjNRNDFLAG];
std::vector<std::pair<mjrRect, mjvFigure>> user_figures_;
std::vector<std::tuple<int, int, std::string, std::string>> user_text_;
std::vector<std::tuple<mjrRect, unsigned char*>> user_images_;
// OpenGL rendering and UI
int refresh_rate = 60;