Original Post
I''ve created a struct like this, I need floats for OpenGL.
Now, I want to know how to make a function like:
Windows has one like it, but only for longs... any help would be apreciated.
typedef struct {
float left;
float right;
float top;
float bottom;
} RECTf;
bool IntersectRects(RECTf *src, RECTf *dest);