diff options
| author | Ray <[email protected]> | 2018-08-06 20:49:47 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2018-08-06 20:49:47 +0200 |
| commit | b042fe12e6c413e3cdcd706949dd285571647848 (patch) | |
| tree | 87e75ab82274b61cd925e50bc596b1e47ea67635 /examples/textures/textures_srcrec_dstrec.c | |
| parent | 61b32e45ed9f28c2d41a0d004032941ab27780a3 (diff) | |
| download | raylib-b042fe12e6c413e3cdcd706949dd285571647848.tar.gz raylib-b042fe12e6c413e3cdcd706949dd285571647848.zip | |
Reviewed spacings on latest PR
Diffstat (limited to 'examples/textures/textures_srcrec_dstrec.c')
| -rw-r--r-- | examples/textures/textures_srcrec_dstrec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/textures/textures_srcrec_dstrec.c b/examples/textures/textures_srcrec_dstrec.c index fe948481..cc08eb58 100644 --- a/examples/textures/textures_srcrec_dstrec.c +++ b/examples/textures/textures_srcrec_dstrec.c @@ -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; |
