#ifndef _OF_UTIL
#define _OF_UTIL

#include "ofConstants.h"


int 	ofNextPow2( int input);

float 	ofGetElapsedTimef();
int		ofGetElapsedTimeMillis();
int 	ofGetFrameNum();

int 	ofGetSeconds();
int 	ofGetMinutes();
int 	ofGetHours();
int 	ofGetWidth();
int 	ofGetHeight();

void 	ofLaunchBrowser(string url);

string 	ofToDataPath(string path);
string  ofToString(double value, int precision = 7);
string  ofToString(int  value);


//----------------------- not for the public:
void	setFrameNum(int num);

#endif


