Add overlay positions in the center of viewport edges, move PAUSE and LOADING... overlays to the top center.

PiperOrigin-RevId: 570054949
Change-Id: If0046df382e67ad3a48e7138a75e9e200c0626b9
This commit is contained in:
Yuval Tassa
2023-10-02 07:03:58 -07:00
committed by Copybara-Service
parent 639e77876d
commit 177aec68dc
6 changed files with 49 additions and 16 deletions
+5 -1
View File
@@ -1338,7 +1338,11 @@ typedef enum mjtGridPos_ { // grid position for overlay
mjGRID_TOPLEFT = 0, // top left
mjGRID_TOPRIGHT, // top right
mjGRID_BOTTOMLEFT, // bottom left
mjGRID_BOTTOMRIGHT // bottom right
mjGRID_BOTTOMRIGHT, // bottom right
mjGRID_TOP, // top center
mjGRID_BOTTOM, // bottom center
mjGRID_LEFT, // left center
mjGRID_RIGHT // right center
} mjtGridPos;
typedef enum mjtFramebuffer_ { // OpenGL framebuffer option
mjFB_WINDOW = 0, // default/window buffer