| 122 | } |
| 123 | |
| 124 | H4Color ProjectOntoH4Color(const Float3& dir, const Float3& color) |
| 125 | { |
| 126 | H4 projected = ProjectOntoH4(dir); |
| 127 | H4Color hColor; |
| 128 | for(uint64 i = 0; i < 4; ++i) |
| 129 | hColor.Coefficients[i] = color * projected.Coefficients[i]; |
| 130 | return hColor; |
| 131 | } |
| 132 | |
| 133 | float EvalH4(const H4& h, const Float3& dir) |
| 134 | { |
nothing calls this directly
no test coverage detected