Reviewed spacings on latest PR

This commit is contained in:
Ray 2018-08-06 20:49:47 +02:00
parent 61b32e45ed
commit b042fe12e6
6 changed files with 27 additions and 27 deletions

View file

@ -30,10 +30,10 @@ int main()
Rectangle sourceRec = { 0.0f, 0.0f, (float)frameWidth, (float)frameHeight };
// NOTE: Destination rectangle (screen rectangle where drawing part of texture)
Rectangle destRec = { (float) screenWidth/2, (float)screenHeight/2, (float)frameWidth*2, (float)frameHeight*2 };
Rectangle destRec = { (float)screenWidth/2, (float)screenHeight/2, (float)frameWidth*2, (float)frameHeight*2 };
// NOTE: Origin of the texture (rotation/scale point), it's relative to destination rectangle size
Vector2 origin = { (float) frameWidth, (float) frameHeight };
Vector2 origin = { (float)frameWidth, (float)frameHeight };
int rotation = 0;