Compare commits
No commits in common. "071ff11f0df0cac2e0aa72b763735deb05a18daa" and "4e97501e1e772468a97c0e04062834c431705217" have entirely different histories.
071ff11f0d
...
4e97501e1e
8
Makefile
8
Makefile
@ -8,17 +8,19 @@ SFMLFLAGS = -lsfml-system -lsfml-window -lsfml-graphics
|
|||||||
# If SFML is not installed in a standard path, you need to tell the dynamic linker where to find the SFML libraries first by specifying LD_LIBRARY_PATH:
|
# If SFML is not installed in a standard path, you need to tell the dynamic linker where to find the SFML libraries first by specifying LD_LIBRARY_PATH:
|
||||||
# export LD_LIBRARY_PATH=<sfml-install-path>/lib && ./sfml-app
|
# export LD_LIBRARY_PATH=<sfml-install-path>/lib && ./sfml-app
|
||||||
|
|
||||||
quickhull: main.o Quickhull.h Point.h Line.h Triangle.h Display.o
|
quickhull: main.o Quickhull.h Point.h Line.h Triangle.h Timing.o Display.o
|
||||||
# link with sfml libs; -lsfml-network -lsfml-audio currently not needed
|
# link with sfml libs; -lsfml-network -lsfml-audio currently not needed
|
||||||
$(CXX) $(CXXFLAGS) -o quickhull main.o Quickhull.h Point.h Line.h Triangle.h Display.o $(SFMLFLAGS)
|
$(CXX) $(CXXFLAGS) -o quickhull main.o Quickhull.h Point.h Line.h Triangle.h Timing.o Display.o $(SFMLFLAGS)
|
||||||
|
|
||||||
performance: performance.cpp Display.o
|
performance: performance.cpp Display.o
|
||||||
$(CXX) $(CXXFLAGS) -o performance Display.o performance.cpp $(SFMLFLAGS)
|
$(CXX) $(CXXFLAGS) -o performance Display.o performance.cpp $(SFMLFLAGS)
|
||||||
|
|
||||||
main.o: main.cpp
|
main.o: main.cpp Timing.h
|
||||||
$(CXX) $(CXXFLAGS) -c main.cpp
|
$(CXX) $(CXXFLAGS) -c main.cpp
|
||||||
|
|
||||||
Display.o: Display.h
|
Display.o: Display.h
|
||||||
|
|
||||||
|
Timing.o: Timing.h
|
||||||
|
|
||||||
clean :
|
clean :
|
||||||
-rm *.o quickhull performance
|
-rm *.o quickhull performance
|
||||||
|
@ -2,8 +2,7 @@
|
|||||||
#define QUICKHULL_H
|
#define QUICKHULL_H
|
||||||
|
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <limits.h>
|
#include <bits/stdc++.h> // For INT_MIN & INT_MAX
|
||||||
|
|
||||||
|
|
||||||
#include "Point.h"
|
#include "Point.h"
|
||||||
#include "Line.h"
|
#include "Line.h"
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
#include <chrono>
|
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
#include "Quickhull.h"
|
#include "Quickhull.h"
|
||||||
#include "NumberGenerator.h"
|
#include "NumberGenerator.h"
|
||||||
#include "Display.h"
|
#include "Display.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user