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

Method AddSample

BakingLab/MeshBaker.cpp:316–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314 }
315
316 void AddSample(Float3 sampleDir, uint64 sampleIdx, Float3 sample, bool hitSky)
317 {
318 ResultSum += ProjectOntoSH9Color(sampleDir, sample);
319 }
320
321 void FinalResult(Float4 bakeOutput[BasisCount])
322 {

Callers

nothing calls this directly

Calls 1

ProjectOntoSH9ColorFunction · 0.85

Tested by

no test coverage detected