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
+13
View File
@@ -578,6 +578,11 @@ STRUCTS: Mapping[str, StructDecl] = dict([
type=ValueType(name='float'),
doc='slidercrank width',
),
StructFieldDecl(
name='frustum',
type=ValueType(name='float'),
doc='frustum zfar plane',
),
),
),
doc='',
@@ -762,6 +767,14 @@ STRUCTS: Mapping[str, StructDecl] = dict([
),
doc='used when crank must be stretched/broken',
),
StructFieldDecl(
name='frustum',
type=ArrayType(
inner_type=ValueType(name='float'),
extents=(4,),
),
doc='camera frustum',
),
),
),
doc='',