Disable shadows for geoms of category mjCAT_DECOR. Fixes #1114.

Added `frustum` to `rgba` and `scale` in the `visual` section.

PiperOrigin-RevId: 576547599
Change-Id: I69bf528680e3d4a59d6e04f6db99a6d345001d1d
This commit is contained in:
Alessio Quaglino
2023-10-25 09:07:22 -07:00
committed by Copybara-Service
parent 5231a335bf
commit 1a47a97040
14 changed files with 61 additions and 15 deletions
+2
View File
@@ -5038,6 +5038,7 @@ public unsafe struct scale {
public float framewidth;
public float constraint;
public float slidercrank;
public float frustum;
}
[StructLayout(LayoutKind.Sequential)]
@@ -5064,6 +5065,7 @@ public unsafe struct rgba {
public fixed float constraint[4];
public fixed float slidercrank[4];
public fixed float crankbroken[4];
public fixed float frustum[4];
}
[StructLayout(LayoutKind.Sequential)]