Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dartsim/dart
/ setAllColors
Function
setAllColors
tutorials/tutorial_collisions/main.cpp:342–346 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
340
}
341
342
void setAllColors(const SkeletonPtr& object, const Eigen::Vector3d& color)
343
{
344
// Set the color of all the shapes in the object
345
object->setColor(color);
346
}
347
348
SkeletonPtr createBall()
349
{
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