diff options
| author | robojumper <robojumper@gmail.com> | 2026-05-07 19:53:30 +0200 |
|---|---|---|
| committer | robojumper <robojumper@gmail.com> | 2026-05-07 19:53:30 +0200 |
| commit | d8744e1f34e9955d55a5605f939bdf0bf9d8a729 (patch) | |
| tree | 944f80d4d212332abeb1f7607396fc7c7a38a70d /src/egg/gfx/eggCpuTexture.cpp | |
| parent | ddb116187922a3f73ae3c97a136f499b7d724a2c (diff) | |
MTX/VEC cleanup
Diffstat (limited to 'src/egg/gfx/eggCpuTexture.cpp')
| -rw-r--r-- | src/egg/gfx/eggCpuTexture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egg/gfx/eggCpuTexture.cpp b/src/egg/gfx/eggCpuTexture.cpp index c0d9cd8e..c422b17d 100644 --- a/src/egg/gfx/eggCpuTexture.cpp +++ b/src/egg/gfx/eggCpuTexture.cpp @@ -188,7 +188,7 @@ void CpuTexture::fillNormalMapSphere(f32 f1, f32 f2) { // TODO: std::sqrtf? vec(2) = fz < Math<f32>::zero() ? Math<f32>::zero() : (f32)sqrt(fz); - PSVECNormalize(vec, vec); + VECNormalize(vec, vec); GXUtility::getNormalColor(c, vec); c.r = c.a; setColor(x, y, c); |
