| 112 | } |
| 113 | |
| 114 | double SsaoGenerator::random(double min, double max) { |
| 115 | double f = (double)rand() / RAND_MAX; |
| 116 | return min + f * (max - min); |
| 117 | } |
| 118 | |
| 119 | float SsaoGenerator::lerp(float v0, float v1, float t) { |
| 120 | return (1 - t) * v0 + t * v1; |
nothing calls this directly
no outgoing calls
no test coverage detected