MCPcopy Index your code
hub / github.com/g3n/engine / makeObject

Function makeObject

loader/obj/obj.go:499–505  ·  view source on GitHub ↗

makes an Object with name.

(name string)

Source from the content-addressed store, hash-verified

497
498// makes an Object with name.
499func makeObject(name string) Object {
500 var ob Object
501 ob.Name = name
502 ob.Faces = make([]Face, 0)
503 ob.materials = make([]string, 0)
504 return ob
505}
506
507// Parses a vertex position line
508// v <x> <y> <z> [w]

Callers 1

parseObjectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected