improve variable and function names
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user