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
+1
View File
@@ -259,6 +259,7 @@ typedef struct mjvGeom_ mjvGeom;
//---------------------------------- mjvLight ------------------------------------------------------
struct mjvLight_ { // OpenGL light
int id; // light id, -1 for headlight
float pos[3]; // position rel. to body frame
float dir[3]; // direction rel. to body frame
int type; // type (mjtLightType)