Add mjv_connector, identical to mjv_makeConnector but with a more convenient "from-to" parameterization.
PiperOrigin-RevId: 542343761 Change-Id: I75f5ff3c404a2a9f65dfed706e590efd7b951f6e
This commit is contained in:
committed by
Copybara-Service
parent
74747e2ae6
commit
c50c92ccc8
@@ -1502,6 +1502,18 @@ mjv_makeConnector
|
||||
|
||||
.. mujoco-include:: mjv_makeConnector
|
||||
|
||||
Set (type, size, pos, mat) for connector-type geom between given points.
|
||||
Assume that mjv_initGeom was already called to set all other properties.
|
||||
Width of mjGEOM_LINE is denominated in pixels.
|
||||
Deprecated: use mjv_connector.
|
||||
|
||||
.. _mjv_connector:
|
||||
|
||||
mjv_connector
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
.. mujoco-include:: mjv_connector
|
||||
|
||||
Set (type, size, pos, mat) for connector-type geom between given points.
|
||||
Assume that mjv_initGeom was already called to set all other properties.
|
||||
Width of mjGEOM_LINE is denominated in pixels.
|
||||
|
||||
Reference in New Issue
Block a user