Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dartsim/dart
/ setAllColors
Function
setAllColors
tutorials/tutorial_collisions_finished/main.cpp:490–494 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
488
}
489
490
void setAllColors(const SkeletonPtr& object, const Eigen::Vector3d& color)
491
{
492
// Set the color of all the shapes in the object
493
object->setColor(color);
494
}
495
496
SkeletonPtr createBall()
497
{
Callers
5
createBall
Function · 0.70
createRigidChain
Function · 0.70
createRigidRing
Function · 0.70
createSoftBody
Function · 0.70
createHybridBody
Function · 0.70
Calls
1
setColor
Method · 0.45
Tested by
no test coverage detected