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:
committed by
Copybara-Service
parent
5231a335bf
commit
1a47a97040
@@ -147,7 +147,8 @@ MjVisualRgbaWrapper::MjWrapper()
|
||||
X(rangefinder),
|
||||
X(constraint),
|
||||
X(slidercrank),
|
||||
X(crankbroken) {}
|
||||
X(crankbroken),
|
||||
X(frustum) {}
|
||||
|
||||
MjVisualRgbaWrapper::MjWrapper(raw::MjVisualRgba* ptr, py::handle owner)
|
||||
: WrapperBase(ptr, owner),
|
||||
@@ -172,7 +173,8 @@ MjVisualRgbaWrapper::MjWrapper(raw::MjVisualRgba* ptr, py::handle owner)
|
||||
X(rangefinder),
|
||||
X(constraint),
|
||||
X(slidercrank),
|
||||
X(crankbroken) {}
|
||||
X(crankbroken),
|
||||
X(frustum) {}
|
||||
#undef X
|
||||
|
||||
MjVisualRgbaWrapper::MjWrapper(const MjVisualRgbaWrapper& other)
|
||||
@@ -1488,6 +1490,7 @@ PYBIND11_MODULE(_structs, m) {
|
||||
X(framewidth);
|
||||
X(constraint);
|
||||
X(slidercrank);
|
||||
X(frustum);
|
||||
#undef X
|
||||
|
||||
py::class_<MjVisualRgbaWrapper> mjVisualRgba(mjVisual, "Rgba");
|
||||
@@ -1522,6 +1525,7 @@ PYBIND11_MODULE(_structs, m) {
|
||||
X(constraint);
|
||||
X(slidercrank);
|
||||
X(crankbroken);
|
||||
X(frustum);
|
||||
#undef X
|
||||
|
||||
#define X(var) \
|
||||
|
||||
@@ -232,6 +232,7 @@ class MjWrapper<raw::MjVisualRgba> : public WrapperBase<raw::MjVisualRgba> {
|
||||
X(constraint);
|
||||
X(slidercrank);
|
||||
X(crankbroken);
|
||||
X(frustum);
|
||||
#undef X
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user