MCPcopy Create free account
hub / github.com/OpenPathGuidingLibrary/openpgl / pglPathSegmentStorageAddSample

Function pglPathSegmentStorageAddSample

openpgl/api/api.cpp:513–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511}
512
513extern "C" OPENPGL_DLLEXPORT void pglPathSegmentStorageAddSample(PGLPathSegmentStorage pathSegmentStorage, PGLSampleData sample)
514{
515 auto *gPathSegmentStorage = (openpgl::PathSegmentDataStorage *)pathSegmentStorage;
516 gPathSegmentStorage->addSample(sample);
517}
518
519extern "C" OPENPGL_DLLEXPORT PGLPathSegmentData *pglPathSegmentStorageNextSegment(PGLPathSegmentStorage pathSegmentStorage)
520{

Callers 1

AddSampleMethod · 0.85

Calls 1

addSampleMethod · 0.45

Tested by

no test coverage detected