Searched refs:numMinor (Results 1 – 2 of 2) sorted by relevance
35 void MyCreateSphere(u8 numMajor, u8 numMinor);36 void MyDrawSphere(u8 numMajor, u8 numMinor);518 void MyCreateSphere(u8 numMajor, u8 numMinor) in MyCreateSphere() argument521 f32 minorStep = (2.0F * PI / numMinor); in MyCreateSphere()535 for (j = 0; j < numMinor; j++) in MyCreateSphere()563 void MyDrawSphere(u8 numMajor, u8 numMinor) in MyDrawSphere() argument569 GXBegin(GX_TRIANGLEFAN, GX_VTXFMT1, (u16) (numMinor+2)); in MyDrawSphere()572 for (j = numMinor; j >= 0; j--) in MyDrawSphere()574 GXPosition1x16((u16) (j % numMinor + 1)); in MyDrawSphere()575 GXNormal1x16((u16) (j % numMinor + 1)); in MyDrawSphere()[all …]
53 void GXDrawSphere(u8 numMajor, u8 numMinor);