| 623 | |
| 624 | |
| 625 | ILuint GetFaceFlag(ILuint FaceNum) |
| 626 | { |
| 627 | switch (FaceNum) |
| 628 | { |
| 629 | case 0: |
| 630 | return IL_CUBEMAP_POSITIVEX; |
| 631 | case 1: |
| 632 | return IL_CUBEMAP_NEGATIVEX; |
| 633 | case 2: |
| 634 | return IL_CUBEMAP_POSITIVEY; |
| 635 | case 3: |
| 636 | return IL_CUBEMAP_NEGATIVEY; |
| 637 | case 4: |
| 638 | return IL_CUBEMAP_POSITIVEZ; |
| 639 | case 5: |
| 640 | return IL_CUBEMAP_NEGATIVEZ; |
| 641 | case 6: |
| 642 | return IL_SPHEREMAP; |
| 643 | } |
| 644 | |
| 645 | return IL_SPHEREMAP; // Should never reach here! |
| 646 | } |
| 647 | |
| 648 | |
| 649 | ILboolean VtfInitFacesMipmaps(ILimage *BaseImage, ILuint NumFaces, VTFHEAD *Header) |
no outgoing calls
no test coverage detected