Hi, everybody.
Why much code for psp use clockwise instead of counter-clockwise like an OpenGL by default :-)?
Thanks.
Why sceGuFrontFace(GU_CW)?
Probably cause the coder wants to.
That's realy the only answer. Iy you want to use GU_CCW you can use GU_CCW.
That's realy the only answer. Iy you want to use GU_CCW you can use GU_CCW.
Code: Select all
int main(){
SetupCallbacks();
makeNiceGame();
sceKernelExitGame();
}
This is the source code :
Yes its a special way, because if you write GU_CW the GU_CCW mode is used, and if you write GU_CCW the GU_CW mode is used...
I think it's due to the PSPGU's programmer reversed a game to know how the PSPGE is used and next write the PSPGU, maybe this game was in CW mode...
Code: Select all
void sceGuFrontFace(int order)
{
if (order)
sendCommandi(155,0);
else
sendCommandi(155,1);
}
I think it's due to the PSPGU's programmer reversed a game to know how the PSPGE is used and next write the PSPGU, maybe this game was in CW mode...
I'm French, and 15 years old, so my English is not good...