MCPcopy
hub / github.com/g3n/engine / findAttrib

Function findAttrib

loader/collada/common.go:290–298  ·  view source on GitHub ↗
(s xml.StartElement, name string)

Source from the content-addressed store, hash-verified

288}
289
290func findAttrib(s xml.StartElement, name string) xml.Attr {
291
292 for _, attr := range s.Attr {
293 if attr.Name.Local == name {
294 return attr
295 }
296 }
297 return xml.Attr{}
298}
299
300const tokenSep string = " \r\n\t"
301

Callers 15

decLibraryMaterialsMethod · 0.85
decMaterialMethod · 0.85
decInstanceEffectMethod · 0.85
decGeometryMethod · 0.85
decVerticesMethod · 0.85
decInputMethod · 0.85
decLinesMethod · 0.85
decPolylistMethod · 0.85
decTrianglesMethod · 0.85
decInputSharedMethod · 0.85
decSourceMethod · 0.85
decFloatArrayMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected