Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (21 sloc) 0.518 kb
/*
* 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
Jump to Line
Something went wrong with that request. Please try again.