Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## rotate-texture

Arguments: texture quarter-lefts &optional texture-info

Modifies the pixels of texture so that it appears rotated by quarter-lefts quarter-left turns. If quarter-lefts is divisible by 4, then no rotation is needed, and the original texture is simply returned; otherwise a new texture is created and returned.

Texture-info can be passed if the logical width or height of the texture is different than the actual width or height of the internal array; in this case the new internal array will be made as small as it can be to still hold all of the pixels for the logical width and height as specified in the texture-info.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version