Disable a test as it is not consistent between compilers.

This commit is contained in:
Godzil
2020-03-02 17:41:04 +00:00
parent 1cebcd4f8b
commit 478b1f0af1
6 changed files with 48 additions and 31 deletions

View File

@@ -49,12 +49,9 @@ Tuple Light::pointOnLight(uint32_t u, uint32_t v)
{
if (this->jitter)
{
/* For some reason, for the test to pass, I need to get the sequence for V first, then U contrary to what
* the bonus chapter says
*/
return this->corner +
this->vVec * (v + this->jitterBy.next()) +
this->uVec * (u + this->jitterBy.next());
this->uVec * (u + this->jitterBy.next()) +
this->vVec * (v + this->jitterBy.next());
}
return this->corner + this->uVec * (u + 0.5) + this->vVec * (v + 0.5);
}