summaryrefslogtreecommitdiff
path: root/src/egg/gfx/eggCpuTexture.cpp
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2026-05-07 19:53:30 +0200
committerrobojumper <robojumper@gmail.com>2026-05-07 19:53:30 +0200
commitd8744e1f34e9955d55a5605f939bdf0bf9d8a729 (patch)
tree944f80d4d212332abeb1f7607396fc7c7a38a70d /src/egg/gfx/eggCpuTexture.cpp
parentddb116187922a3f73ae3c97a136f499b7d724a2c (diff)
MTX/VEC cleanup
Diffstat (limited to 'src/egg/gfx/eggCpuTexture.cpp')
-rw-r--r--src/egg/gfx/eggCpuTexture.cpp2
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);