Add light ids.

PiperOrigin-RevId: 805755907
Change-Id: I92a1b1ea4ce1495c2746fd518f33ab2d1ad81399
This commit is contained in:
Haroon Qureshi
2025-09-11 03:19:48 -07:00
committed by Copybara-Service
parent da2fad4530
commit 017e7d5a73
6 changed files with 11 additions and 0 deletions
+5
View File
@@ -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(
+1
View File
@@ -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);