parsePhysicsTechniqueCommon method
Implementation
void parsePhysicsTechniqueCommon(XmlElement xml, Map<String, dynamic> data ) {
for (final child in xml.descendantElements) {
switch ( child.name.local ) {
case 'inertia':
data['inertia'] = parseFloats( child.innerText );
break;
case 'mass':
data['mass'] = parseFloats( child.innerText )[ 0 ];
break;
}
}
}