blob: 783fc549e3f7dfb3dc66ca22bd054ded490ff0b2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/*
* cocos2d for iPhone: http://www.cocos2d-iphone.org
*
*/
#ifndef __CC_UTILS_H
#define __CC_UTILS_H
/** @file ccUtils.h
Misc free functions
*/
/*
ccNextPOT function is licensed under the same license that is used in CCTexture2D.m.
*/
/** returns the Next Power of Two value.
Examples:
- If "value" is 15, it will return 16.
- If "value" is 16, it will return 16.
- If "value" is 17, it will return 32.
@since v0.99.5
*/
unsigned long ccNextPOT( unsigned long value );
#endif // ! __CC_UTILS_H
|