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

Method decParam

loader/collada/common.go:236–243  ·  view source on GitHub ↗
(start xml.StartElement, accessor *Accessor)

Source from the content-addressed store, hash-verified

234}
235
236func (d *Decoder) decParam(start xml.StartElement, accessor *Accessor) error {
237
238 p := Param{}
239 p.Name = findAttrib(start, "name").Value
240 p.Type = findAttrib(start, "type").Value
241 accessor.Params = append(accessor.Params, p)
242 return nil
243}
244
245func (d *Decoder) decNextChild(parent xml.StartElement) (xml.StartElement, []byte, error) {
246

Callers 1

decAcessorMethod · 0.95

Calls 1

findAttribFunction · 0.85

Tested by

no test coverage detected