Add mjv_camera2GLCamera to mujoco.h.
PiperOrigin-RevId: 956698065 Change-Id: I36856d7142bb5e798c5a90c19609288ddd7c4aac
This commit is contained in:
committed by
Copybara-Service
parent
a3425c72a7
commit
8b78378868
@@ -4972,6 +4972,32 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
|
||||
),
|
||||
doc='Return the average of two OpenGL cameras.',
|
||||
)),
|
||||
('mjv_camera2GLCamera',
|
||||
FunctionDecl(
|
||||
name='mjv_camera2GLCamera',
|
||||
return_type=ValueType(name='mjvGLCamera'),
|
||||
parameters=(
|
||||
FunctionParameterDecl(
|
||||
name='model',
|
||||
type=PointerType(
|
||||
inner_type=ValueType(name='mjModel', is_const=True),
|
||||
),
|
||||
),
|
||||
FunctionParameterDecl(
|
||||
name='data',
|
||||
type=PointerType(
|
||||
inner_type=ValueType(name='mjData', is_const=True),
|
||||
),
|
||||
),
|
||||
FunctionParameterDecl(
|
||||
name='mjv_camera',
|
||||
type=PointerType(
|
||||
inner_type=ValueType(name='mjvCamera', is_const=True),
|
||||
),
|
||||
),
|
||||
),
|
||||
doc='Converts a mjvCamera to a mjvGLCamera.',
|
||||
)),
|
||||
('mjv_select',
|
||||
FunctionDecl(
|
||||
name='mjv_select',
|
||||
|
||||
Reference in New Issue
Block a user