| 102 | |
| 103 | |
| 104 | ILboolean ILAPIENTRY iluCrop(ILuint XOff, ILuint YOff, ILuint ZOff, ILuint Width, ILuint Height, ILuint Depth) |
| 105 | { |
| 106 | if (ZOff <= 1) |
| 107 | return iluCrop2D(XOff, YOff, Width, Height); |
| 108 | return iluCrop3D(XOff, YOff, ZOff, Width, Height, Depth); |
| 109 | } |
| 110 | |
| 111 | |
| 112 | //! Enlarges the canvas |