MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / AddSample

Method AddSample

BakingLab/MeshBaker.cpp:178–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176 }
177
178 void AddSample(Float3 sampleDir, uint64 sampleIdx, Float3 sample, bool hitSky)
179 {
180 ResultSum += ProjectOntoSH4Color(sampleDir, sample);
181 }
182
183 void FinalResult(Float4 bakeOutput[BasisCount])
184 {

Callers

nothing calls this directly

Calls 1

ProjectOntoSH4ColorFunction · 0.85

Tested by

no test coverage detected