| 56 | } |
| 57 | |
| 58 | void iRenderTrianglesImmediate(S32 vertType, S32 vertTypeSize, void* data, S32 dataSize, U16* index, S32 indexSize) |
| 59 | { |
| 60 | if (RwIm3DTransform((RwIm3DVertex *)data, dataSize, NULL, 1) != NULL) |
| 61 | { |
| 62 | if (indexSize != 0) |
| 63 | { |
| 64 | RwIm3DRenderIndexedPrimitive(rwPRIMTYPETRILIST, index, indexSize); |
| 65 | } |
| 66 | else |
| 67 | { |
| 68 | RwIm3DRenderPrimitive(rwPRIMTYPETRILIST); |
| 69 | } |
| 70 | RwIm3DEnd(); |
| 71 | } |
| 72 | |
| 73 | } |
| 74 | |
| 75 | static void iRenderPushFlat(xPar* p, xParCmdTex* tex); |
| 76 |