MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / Dot

Method Dot

SampleFramework12/v1.00/Graphics/SH.h:135–141  ·  view source on GitHub ↗

Dot products

Source from the content-addressed store, hash-verified

133
134 // Dot products
135 T Dot(const SH& other) const
136 {
137 T result = 0.0f;
138 for(uint64 i = 0; i < N; ++i)
139 result += Coefficients[i] * other.Coefficients[i];
140 return result;
141 }
142
143 static T Dot(const SH& a, const SH& b)
144 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected