Weird GU behavior
Weird GU behavior
I've edited the post because the question was answered, i needed to use sceGumDrawArray instead of sceGuDrawArray, but can anyone tell me why? what is the difference between the two?
Last edited by sturatt on Mon Mar 19, 2007 2:33 pm, edited 1 time in total.
Try changing
to
in Pyramid.render to use the gum matrix stack?
Code: Select all
sceGuDrawArray( GU_TRIANGLES, type, 12, 0, &vertices );
Code: Select all
sceGumDrawArray( GU_TRIANGLES, type, 12, 0, &vertices );
-
- Posts: 376
- Joined: Wed May 10, 2006 11:31 pm
sceGumDrawArray is matrix aware, sceGuDrawArray isn't.
The internal code of sceGumDrawArray is something like:
The internal code of sceGumDrawArray is something like:
Code: Select all
sceGumUpdateMatrix();
sceGuDrawArray(...);
i realize that, but the problem that i originally asked was because i mistyped and forgot to put an m in my code. I thought it might be better (especially for me) to ask about why i needed the m in sceGumDrawArray, and what the difference was withoutout it, rather than to have a huge question asking why my code didnt work (because i didnt have the m in one of my calls).