MCPcopy Create free account
hub / github.com/SaschaWillems/HowToVulkan / PrimGroup

Class PrimGroup

source/external/tinyobj/tiny_obj_loader.h:747–763  ·  view source on GitHub ↗

Manages group of primitives(face, line, points, ...)

Source from the content-addressed store, hash-verified

745//
746// Manages group of primitives(face, line, points, ...)
747struct PrimGroup {
748 std::vector<face_t> faceGroup;
749 std::vector<__line_t> lineGroup;
750 std::vector<__points_t> pointsGroup;
751
752 void clear() {
753 faceGroup.clear();
754 lineGroup.clear();
755 pointsGroup.clear();
756 }
757
758 bool IsEmpty() const {
759 return faceGroup.empty() && lineGroup.empty() && pointsGroup.empty();
760 }
761
762 // TODO(syoyo): bspline, surface, ...
763};
764
765// See
766// http://stackoverflow.com/questions/6089231/getting-std-ifstream-to-handle-lf-cr-and-crlf

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected