- split out FGameTexture into its own files.

This commit is contained in:
Christoph Oelckers 2020-04-19 00:44:42 +02:00
commit cedc95c2a5
9 changed files with 898 additions and 807 deletions

View file

@ -0,0 +1,21 @@
#pragma once
struct FloatRect
{
float left,top;
float width,height;
void Offset(float xofs,float yofs)
{
left+=xofs;
top+=yofs;
}
void Scale(float xfac,float yfac)
{
left*=xfac;
width*=xfac;
top*=yfac;
height*=yfac;
}
};