From 435db3ad0edad94989dc0d0e008a9c2dc704a9c9 Mon Sep 17 00:00:00 2001 From: Vectozavr <60608292+vectozavr@users.noreply.github.com> Date: Sat, 6 Nov 2021 03:14:25 +0700 Subject: [PATCH] small optimizations with Triangle.cpp (normal vector calculated once in constructor) --- Source.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source.cpp b/Source.cpp index 6525480..1737a7f 100644 --- a/Source.cpp +++ b/Source.cpp @@ -10,7 +10,7 @@ using namespace std; int main() { Shooter game; - game.create(1280, 720, ShooterConsts::PROJECT_NAME, false); + game.create(1280, 720, ShooterConsts::PROJECT_NAME, true); //game.create(1920, 1080, ShooterConsts::PROJECT_NAME, true, Consts::BACKGROUND_COLOR, sf::Style::Fullscreen); //game.create(2048, 1152, ShooterConsts::PROJECT_NAME, false);