summary refs log tree commit diff stats
path: root/libs/cocos2d/Support/ccUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/cocos2d/Support/ccUtils.h')
-rwxr-xr-xlibs/cocos2d/Support/ccUtils.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/libs/cocos2d/Support/ccUtils.h b/libs/cocos2d/Support/ccUtils.h new file mode 100755 index 0000000..783fc54 --- /dev/null +++ b/libs/cocos2d/Support/ccUtils.h
@@ -0,0 +1,29 @@
1/*
2 * cocos2d for iPhone: http://www.cocos2d-iphone.org
3 *
4 */
5
6#ifndef __CC_UTILS_H
7#define __CC_UTILS_H
8
9/** @file ccUtils.h
10 Misc free functions
11 */
12
13/*
14 ccNextPOT function is licensed under the same license that is used in CCTexture2D.m.
15 */
16
17/** returns the Next Power of Two value.
18
19 Examples:
20 - If "value" is 15, it will return 16.
21 - If "value" is 16, it will return 16.
22 - If "value" is 17, it will return 32.
23
24 @since v0.99.5
25 */
26
27unsigned long ccNextPOT( unsigned long value );
28
29#endif // ! __CC_UTILS_H