projects
/
TDDC76_proj.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
995afdf
)
Fixed scale issue
author
Nils Forssén
<nilfo359@student.liu.se>
Thu, 9 Nov 2023 14:22:29 +0000
(15:22 +0100)
committer
Nils Forssén
<nilfo359@student.liu.se>
Thu, 9 Nov 2023 14:22:29 +0000
(15:22 +0100)
src/_main.cc
patch
|
blob
|
history
diff --git
a/src/_main.cc
b/src/_main.cc
index 47a590372bbdaed2acc789b86efed4e579b59390..fff44bcef06e9abb1556db080cb3f978e8b95529 100644
(file)
--- a/
src/_main.cc
+++ b/
src/_main.cc
@@
-5,11
+5,12
@@
*/
#include <SFML/Graphics.hpp> // includes most things in SFML
+#include "Object.h"
const unsigned int S_WIDTH {1280};
const unsigned int S_HEIGHT {720};
-const double S_SCALE_KOEFF {
s_width
/ 1920.0};
+const double S_SCALE_KOEFF {
S_WIDTH
/ 1920.0};
int main ()
{