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

Method Dump

loader/collada/library_geometries.go:23–36  ·  view source on GitHub ↗

Dump prints out information about the LibraryGeometries

(out io.Writer, indent int)

Source from the content-addressed store, hash-verified

21
22// Dump prints out information about the LibraryGeometries
23func (lg *LibraryGeometries) Dump(out io.Writer, indent int) {
24
25 if lg == nil {
26 return
27 }
28 fmt.Fprintf(out, "%sLibraryGeometries:\n", sIndent(indent))
29 ind := indent + step
30 if lg.Asset != nil {
31 lg.Asset.Dump(out, ind)
32 }
33 for _, g := range lg.Geometry {
34 g.Dump(out, ind)
35 }
36}
37
38//
39// Geometry

Callers

nothing calls this directly

Calls 2

sIndentFunction · 0.85
DumpMethod · 0.45

Tested by

no test coverage detected