Add light ids.
PiperOrigin-RevId: 805755907 Change-Id: I92a1b1ea4ce1495c2746fd518f33ab2d1ad81399
This commit is contained in:
committed by
Copybara-Service
parent
da2fad4530
commit
017e7d5a73
@@ -6697,6 +6697,11 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
||||
name='mjvLight',
|
||||
declname='struct mjvLight_',
|
||||
fields=(
|
||||
StructFieldDecl(
|
||||
name='id',
|
||||
type=ValueType(name='int'),
|
||||
doc='light id, -1 for headlight',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='pos',
|
||||
type=ArrayType(
|
||||
|
||||
@@ -1076,6 +1076,7 @@ This is useful for example when the MJB is not available as a file on disk.)"));
|
||||
[](MjvLightWrapper& c, decltype(raw::MjvLight::var) rhs) { \
|
||||
c.get()->var = rhs; \
|
||||
})
|
||||
X(id);
|
||||
X(cutoff);
|
||||
X(exponent);
|
||||
X(headlight);
|
||||
|
||||
Reference in New Issue
Block a user