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

Function getMeshSource

loader/collada/geometry.go:619–628  ·  view source on GitHub ↗
(m *Mesh, uri string)

Source from the content-addressed store, hash-verified

617}
618
619func getMeshSource(m *Mesh, uri string) *Source {
620
621 id := strings.TrimPrefix(uri, "#")
622 for _, s := range m.Source {
623 if s.Id == id {
624 return s
625 }
626 }
627 return nil
628}
629
630func getInputSemantic(inps []InputShared, semantic string) *InputShared {
631

Callers 4

newMeshPolylistFunction · 0.85
newMeshTrianglesFunction · 0.85
newMeshLinesFunction · 0.85
newMeshPointsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected