This commit is contained in:
Preston Smith
2016-08-31 02:44:36 -05:00
parent e6ccd0729f
commit 94cbe0c12a
2 changed files with 7 additions and 3 deletions

View File

@ -180,7 +180,9 @@ static void TransformTexCoordRegular(const TexMtxInfo& texinfo, int coordNum, bo
}
}
// TODO write comment
// When q is 0, the GameCube appears to have a special case
// This can be seen in devkitPro's neheGX Lesson08 example for Wii
// Makes differences in Rogue Squadron 3 (Hoth sky) and The Last Story (shadow culling)
if (dst->z == 0.0f)
{
dst->x = MathUtil::Clamp(dst->x / 2.0f, -1.0f, 1.0f);