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

Method AddSample

BakingLab/MeshBaker.cpp:379–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377 }
378
379 void AddSample(Float3 sampleDir, uint64 sampleIdx, Float3 sample, bool hitSky)
380 {
381 SampleDirs[CurrSampleIdx] = sampleDir;
382 Samples[CurrSampleIdx] = sample;
383 ++CurrSampleIdx;
384
385 ProjectOntoSGs(sampleDir, sample, ProjectedResult, SGCount);
386 }
387
388 void FinalResult(Float4 bakeOutput[BasisCount])
389 {

Callers

nothing calls this directly

Calls 1

ProjectOntoSGsFunction · 0.85

Tested by

no test coverage detected