Skip to content

Commit ef79416

Browse files
committed
Use regular GXVert functions in CElementGen::RenderModels
1 parent e58bcff commit ef79416

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/Kyoto/Particles/CElementGen.cpp

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2401,19 +2401,19 @@ void CElementGen::RenderModels() {
24012401
if (x28_loadedGenDesc->x31_26_PMUS) {
24022402
if (moveRedToAlphaBuffer) {
24032403
CGX::Begin(GX_QUADS, GX_VTXFMT0, 4);
2404-
RSPosition3f32(0.5f, 0.f, 0.5f);
2404+
GXPosition3f32(0.5f, 0.f, 0.5f);
24052405
u32 c = col.GetColor_u32();
2406-
RSColor1u32(c);
2407-
RSTexCoord2f32(uvs.xMax, uvs.yMax);
2408-
RSPosition3f32(-0.5f, 0.f, 0.5f);
2409-
RSColor1u32(c);
2410-
RSTexCoord2f32(uvs.xMin, uvs.yMax);
2411-
RSPosition3f32(-0.5f, 0.f, -0.5f);
2412-
RSColor1u32(c);
2413-
RSTexCoord2f32(uvs.xMin, uvs.yMin);
2414-
RSPosition3f32(0.5f, 0.f, -0.5f);
2415-
RSColor1u32(c);
2416-
RSTexCoord2f32(uvs.xMax, uvs.yMin);
2406+
GXColor1u32(c);
2407+
GXTexCoord2f32(uvs.xMax, uvs.yMax);
2408+
GXPosition3f32(-0.5f, 0.f, 0.5f);
2409+
GXColor1u32(c);
2410+
GXTexCoord2f32(uvs.xMin, uvs.yMax);
2411+
GXPosition3f32(-0.5f, 0.f, -0.5f);
2412+
GXColor1u32(c);
2413+
GXTexCoord2f32(uvs.xMin, uvs.yMin);
2414+
GXPosition3f32(0.5f, 0.f, -0.5f);
2415+
GXColor1u32(c);
2416+
GXTexCoord2f32(uvs.xMax, uvs.yMin);
24172417
CGX::End();
24182418
} else {
24192419
CGraphics::StreamBegin(kP_Quads);

0 commit comments

Comments
 (0)