improve variable and function names

This commit is contained in:
andrew
2025-03-30 22:19:55 -04:00
parent 97092facd6
commit 65500cfbdc
4 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -2606,7 +2606,7 @@ void Simulate::Render() {
}
// overlay text
for (auto& [font, gridpos, text1, text2] : this->user_text_) {
for (auto& [font, gridpos, text1, text2] : this->user_texts_) {
ShowOverlayText(this, rect, font, gridpos, text1, text2);
}
+1 -1
View File
@@ -253,7 +253,7 @@ 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<int, int, std::string, std::string>> user_texts_;
std::vector<std::tuple<mjrRect, unsigned char*>> user_images_;
// OpenGL rendering and UI