MCPcopy Create free account
hub / github.com/ddiakopoulos/polymer / visit_fields

Function visit_fields

libraries/lib-engine/include/polymer-engine/object.hpp:86–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 }
85
86 template<class F> void visit_fields(polymer::transform & o, F f) { f("position", o.position); f("orientation", o.orientation); }
87
88 // Polymer Asset Handles
89 inline void to_json(json & archive, const texture_handle & m) { archive = m.name == "empty" ? "" : m.name; }

Callers 2

to_jsonFunction · 0.70
from_jsonFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected