Sha256: f6f32374df40f79cd4afcc0d99fb9e986b1d14866491b0ba1135e4a08d81aeb3

Contents?: true

Size: 584 Bytes

Versions: 11

Compression:

Stored size: 584 Bytes

Contents

/*
 * cocos2d for iPhone: http://www.cocos2d-iphone.org
 *
 */

#ifndef __CC_UTILS_H
#define __CC_UTILS_H

#ifdef __cplusplus
extern "C" {
#endif

/** @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 );

#ifdef __cplusplus
}
#endif

#endif // ! __CC_UTILS_H

Version data entries

11 entries across 7 versions & 1 rubygems

Version Path
joybox-1.1.1 vendor/vendor-osx/cocos_2d/cocos_2d_include/Support/ccUtils.h
joybox-1.1.1 vendor/vendor-ios/cocos_2d/cocos_2d_include/Support/ccUtils.h
joybox-1.1.0 vendor/vendor-ios/cocos_2d/cocos_2d_include/Support/ccUtils.h
joybox-1.1.0 vendor/vendor-osx/cocos_2d/cocos_2d_include/Support/ccUtils.h
joybox-1.0.0 vendor/vendor-ios/cocos_2d/cocos_2d_include/Support/ccUtils.h
joybox-1.0.0 vendor/vendor-osx/cocos_2d/cocos_2d_include/Support/ccUtils.h
joybox-0.0.6 vendor/vendor-osx/cocos_2d/cocos_2d_include/Support/ccUtils.h
joybox-0.0.6 vendor/vendor-ios/cocos_2d/include/Support/ccUtils.h
joybox-0.0.5 vendor/Cocos2D/include/ccUtils.h
joybox-0.0.4 vendor/Cocos2D/include/ccUtils.h
joybox-0.0.3 vendor/Cocos2D/include/ccUtils.h