Refactor camera orthographic attribute to projection enum.
PiperOrigin-RevId: 847069028 Change-Id: I7f686fe654e9b56519cab8bd2f37c9cc40091d3f
This commit is contained in:
committed by
Copybara-Service
parent
44c8ef890d
commit
b8a4ac5d48
@@ -2244,11 +2244,11 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
||||
array_extent=('ncam', 9),
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='cam_orthographic',
|
||||
name='cam_projection',
|
||||
type=PointerType(
|
||||
inner_type=ValueType(name='int'),
|
||||
),
|
||||
doc='orthographic camera; 0: no, 1: yes',
|
||||
doc='projection type (mjtProjection)',
|
||||
array_extent=('ncam',),
|
||||
),
|
||||
StructFieldDecl(
|
||||
@@ -7566,9 +7566,9 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
||||
doc='target body for tracking/targeting',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='orthographic',
|
||||
type=ValueType(name='int'),
|
||||
doc='is camera orthographic',
|
||||
name='proj',
|
||||
type=ValueType(name='mjtProjection'),
|
||||
doc='camera projection type',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='fovy',
|
||||
|
||||
Reference in New Issue
Block a user