- Compile the program.
mkdir -p perVertexLight.app/Contents/MacOS
clang++ -o perVertexLight.app/Contents/MacOS/perVertexLight *.mm -framework Cocoa -framework QuartzCore -framework OpenGL
- Press
Esc
key to quit. - Press
F
orf
to toggle full-screen mode. - Press
l
key to enable lighting.