MCPcopy Create free account
hub / github.com/comaps/comaps / GetBufferSize

Function GetBufferSize

generator/tesselator.cpp:83–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81
82template <class IterT>
83size_t GetBufferSize(IterT b, IterT e)
84{
85 std::vector<char> buffer;
86 MemWriter<std::vector<char>> writer(buffer);
87 while (b != e)
88 WriteVarUint(writer, *b++);
89 return buffer.size();
90}
91
92/// Find best (cheap in serialization) start edge for processing.
93TrianglesInfo::ListInfo::TIterator TrianglesInfo::ListInfo::FindStartTriangle(PointsInfo const & points) const

Callers 1

FindStartTriangleMethod · 0.85

Calls 2

WriteVarUintFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected