le3d - LightEngine 3D
A straightforward C++ 3D software engine for real-time graphics
Functions
LeGlobal Namespace Reference

Functions

void toLower (char *txt)
 
void toUpper (char *txt)
 
void getFileExtention (char *ext, const int extSize, const char *path)
 
void getFileName (char *name, const int nameSize, const char *path)
 
void getFileDirectory (char *dir, int dirSize, const char *path)
 
int log2i32 (int n)
 

Detailed Description

Global string & math functions

Function Documentation

void LeGlobal::getFileDirectory ( char *  dir,
int  dirSize,
const char *  path 
)

Return a file name from a path

void LeGlobal::getFileExtention ( char *  ext,
const int  extSize,
const char *  path 
)

Convert in place null terminated C string to upper case

void LeGlobal::getFileName ( char *  name,
const int  nameSize,
const char *  path 
)

Return a file extension from a path

int LeGlobal::log2i32 ( int  n)

Return a directory name from a path

void LeGlobal::toLower ( char *  txt)
void LeGlobal::toUpper ( char *  txt)

Convert in place null terminated C string to lower case