Skip to content

Commit

Permalink
#include <cassert> for geometricCenter()
Browse files Browse the repository at this point in the history
  • Loading branch information
austinmhorn committed Jul 27, 2023
1 parent 7e7705b commit c49fd34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions include/leafy/SystemInfo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
#ifndef SystemInfo_hpp
#define SystemInfo_hpp

#if WIN32
#if WIN32 || WIN64
#include <windows.h>
#elif LINUX
#include <X11/Xlib.h>
#elif APPLE
#elif APPLE || MACH
#include <CoreGraphics/CGDisplayConfiguration.h>
#endif

Expand Down
3 changes: 1 addition & 2 deletions src/leafy/Button.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
#include <SFML/Graphics/RenderTarget.hpp>
#include <SFML/Graphics/Shape.hpp>
#include <SFML/Graphics/Texture.hpp>

#include <cmath>
#include <cassert>

#ifndef _PI
#define _PI 3.14159265358979323846
Expand Down

0 comments on commit c49fd34

Please sign in to comment.