Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
8faaa65b85 | ||
|
cae7389256 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
|
geometry
|
||||||
dist/
|
dist/
|
||||||
|
|
||||||
## Ignore Visual Studio temporary files, build results, and
|
## Ignore Visual Studio temporary files, build results, and
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <gl/GL.h>
|
#include <GL/glut.h>
|
||||||
#include <gl/GLU.h>
|
|
||||||
#include <gl/GLUT.h>
|
|
||||||
|
|
||||||
#define PI 3.14159
|
#define PI 3.14159
|
||||||
#define NUM_MODES 5
|
#define NUM_MODES 5
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <gl/GLUT.h>
|
#include <GL/glut.h>
|
||||||
#include "geometry.h"
|
#include "geometry.h"
|
||||||
|
|
||||||
#define WIN_WIDTH 640
|
#define WIN_WIDTH 640
|
||||||
|
8
Makefile
Normal file
8
Makefile
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
CFLAGS=-DGL_SILENCE_DEPRECATION $(shell pkg-config --cflags gl) $(shell pkg-config --cflags glut)
|
||||||
|
LIBS=$(shell pkg-config --libs gl) $(shell pkg-config --libs glut)
|
||||||
|
|
||||||
|
all:
|
||||||
|
g++ -o geometry ./FemboyGeometry/*.cpp $(CFLAGS) $(LIBS)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f geometry
|
1
thirdparty/freeglut/.gitignore
vendored
Normal file
1
thirdparty/freeglut/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
!bin
|
BIN
thirdparty/freeglut/bin/freeglut.dll
vendored
Normal file
BIN
thirdparty/freeglut/bin/freeglut.dll
vendored
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user