(r, g, b, a)
| 371 | |
| 372 | |
| 373 | def meshcat_material(r, g, b, a): |
| 374 | material = mg.MeshPhongMaterial() |
| 375 | material.color = int(r * 255) * 256**2 + int(g * 255) * 256 + int(b * 255) |
| 376 | material.opacity = a |
| 377 | return material |
| 378 | |
| 379 | |
| 380 | def create_visualizer( |
no outgoing calls
no test coverage detected