OpenPolygon  1.0.0
OpenPolygon is a Rendering Engine
Static Public Member Functions | List of all members
Engine::Utils Class Reference

Static Public Member Functions

static Vector3i getPixelData (Texture *texture, const Vector2i &pixel_coord)
 
static Vector2i getPixelCoord (const Vector2f texture_coord, const Vector2f texture_size)
 
static Vector2i getPixelCoord (const PixelCoordData &data)
 
static bool Simple2DCollision (const ObjectBox &first, const ObjectBox &second)
 
static Vector2f ScreenPixelVector (int display_width, int display_height)
 
static Strings StringSplit (const string &str, const string &delim)
 
static string getExtension (const std::string &file)
 
static const GLubyte * getOpenGLVersion (void)
 
static const GLubyte * geShaderVersion (void)
 
static const std::string getString (const GLubyte *bytes)
 
static const std::string getString (const char *embedded_data[], size_t array_size)
 
static float getFloat (const GLubyte *bytes)
 
static void calculateCPUTime (ThreadTimer *timer)
 
static void calculateTicks (ThreadTicks *ticks)
 
static void ThreadSleep (ThreadTimer *timer, float &update_rate_ms)
 
static void processMemoryInfo (ProcessMemoryInfo *info)
 

The documentation for this class was generated from the following files: