Dot products
| 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 | { |
nothing calls this directly
no outgoing calls
no test coverage detected