| 17 | BBox sampleBounds{openpgl::Vector3(std::numeric_limits<float>::max()), openpgl::Vector3(-std::numeric_limits<float>::max())}; |
| 18 | |
| 19 | inline void clear() |
| 20 | { |
| 21 | mean = Point3(0.0f); |
| 22 | variance = Vector3(0.0f); |
| 23 | numSamples = 0.0f; |
| 24 | numZeroValueSamples = 0.0f; |
| 25 | sampleBounds.lower = openpgl::Vector3(std::numeric_limits<float>::max()); |
| 26 | sampleBounds.upper = openpgl::Vector3(-std::numeric_limits<float>::max()); |
| 27 | } |
| 28 | |
| 29 | inline void addSample(const Point3 sample) |
| 30 | { |
no test coverage detected