MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / FormFactorPolyToDiff

Function FormFactorPolyToDiff

src/utils/vrad/vrad.cpp:1067–1094  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Computes the form factor from a polygon patch to a differential patch using formula 81 of Philip Dutre's Global Illumination Compendium, phil@graphics.cornell.edu, http://www.graphics.cornell.edu/~phil/GI/ -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

MakeTransferFunction · 0.85

Calls 4

VectorSubtractFunction · 0.50
VectorNormalizeFunction · 0.50
CrossProductFunction · 0.50
DotProductFunction · 0.50

Tested by

no test coverage detected