MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / buildNodesFromList

Method buildNodesFromList

Engine/source/environment/decalRoad.cpp:965–976  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

963}
964
965void DecalRoad::buildNodesFromList( DecalRoadNodeList* list )
966{
967 mNodes.clear();
968
969 for (U32 i=0; i<list->mPositions.size(); ++i)
970 {
971 _addNode( list->mPositions[i], list->mWidths[i] );
972 }
973
974 _generateEdges();
975 _captureVerts();
976}
977
978void DecalRoad::setTextureLength( F32 meters )
979{

Callers 1

sendNotificationMethod · 0.45

Calls 2

clearMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected