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

Function SetMiWeight

openpgl/include/openpgl/cpp/PathSegment.h:102–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102OPENPGL_INLINE void SetMiWeight(PathSegment *pathSegment, const float &miWeight)
103{
104 OPENPGL_ASSERT(pathSegment);
105 pathSegment->miWeight = miWeight;
106}
107
108OPENPGL_INLINE void SetRussianRouletteProbability(PathSegment *pathSegment, const float &russianRouletteSurvivalProbability)
109{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected