You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
330 B

#ifndef __GLRECT_H
#define __GLRECT_H
#include <SDL.h>
class GLRect {
public:
float x, y;
float w, h;
GLRect();
GLRect(float, float, float, float);
GLRect(const SDL_Rect&);
void set(float, float, float, float);
void setPoint(float, float);
void setDim(float, float);
SDL_Rect getSDLRect();
};
#endif