Merge pull request #978 from aftersomemath:depth-precision-in-place

PiperOrigin-RevId: 572961667
Change-Id: I69011ddf835ae286e30e7f84cca67867cfe94fa4
This commit is contained in:
Copybara-Service
2023-10-12 11:18:36 -07:00
14 changed files with 194 additions and 34 deletions
+5
View File
@@ -406,6 +406,10 @@ public enum mjtFramebuffer : int{
mjFB_WINDOW = 0,
mjFB_OFFSCREEN = 1,
}
public enum mjtDepthMap : int{
mjDEPTH_ZERONEAR = 0,
mjDEPTH_ZEROFAR = 1,
}
public enum mjtFontScale : int{
mjFONTSCALE_50 = 50,
mjFONTSCALE_100 = 100,
@@ -5596,6 +5600,7 @@ public unsafe struct mjrContext_ {
public int windowDoublebuffer;
public int currentBuffer;
public int readPixelFormat;
public int readDepthMap;
}
[StructLayout(LayoutKind.Sequential)]