+ counter_text.Set(env.assets.small_ui_font, text);
+}
+
+void Interface::UpdatePosition() {
+ std::stringstream s;
+ s << std::setprecision(3) << "pos: " << ctrl.Controlled().AbsolutePosition();
+ position_text.Set(env.assets.small_ui_font, s.str());
+}
+
+void Interface::UpdateOrientation() {
+ std::stringstream s;
+ s << std::setprecision(3) << "pitch: " << rad2deg(ctrl.Pitch())
+ << ", yaw: " << rad2deg(ctrl.Yaw());
+ orientation_text.Set(env.assets.small_ui_font, s.str());