Fixups to comments and flags for reversed Z rendering

This commit is contained in:
Levi Burner
2023-09-29 11:34:14 -04:00
parent 2e52bf807b
commit 56403b4dce
9 changed files with 26 additions and 28 deletions
+5 -5
View File
@@ -621,13 +621,13 @@ ENUMS: Mapping[str, EnumDecl] = dict([
('mjFB_OFFSCREEN', 1),
]),
)),
('mjtDepthMapping',
('mjtDepthMap',
EnumDecl(
name='mjtDepthMapping',
declname='enum mjtDepthMapping_',
name='mjtDepthMap',
declname='enum mjtDepthMap_',
values=dict([
('mjDM_ZEROTOONE', 0),
('mjDM_ONETOZERO', 1),
('mjDEPTHMAP_01', 0),
('mjDEPTHMAP_10', 1),
]),
)),
('mjtFontScale',
+2 -2
View File
@@ -7127,9 +7127,9 @@ STRUCTS: Mapping[str, StructDecl] = dict([
doc='default color pixel format for mjr_readPixels',
),
StructFieldDecl(
name='readDepthMapping',
name='readDepthMap',
type=ValueType(name='int'),
doc='depth mapping, 0 to 1 (default, legacy), or 1 to 0 (reversed, native)', # pylint: disable=line-too-long
doc='depth mapping: mjDEPTHMAP_01 or mjDEPTHMAP_10',
),
),
)),