Code: Select all
void sceGumDrawArray ( int prim,
int vtype,
int count,
const void * indices,
const void * vertices
)
when i switch over to unsigned long the model gets fucked up (no other changes in code...)
as int can be 2 or 4 bytes i am curious whats going wrong there...
int
-32'768 ... 32'767 or
-2'147'483'648 .. 2'147'483'647
while unsigned long = 4 byte
0 ... 4'294'967'295
the range is the same (IF int is implemented as 4-byte)
any ideas?
greets
lumo
PS: i do not want to crop the models in parts...