Skip to content

newfrogg/CG-Assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenGL simple template

This is a project with setups to work with opengl on linux (freeglut) with vscode as the main editor.

Prequisted

  • freeglut
sudo apt-get install freeglut3-dev
  • vscode

Build & Run

  • Build:
// C++
g++ -g main.cpp -std=c++11 src/*.cpp -lGL -lGLU -lglut -lm -Iinclude -Isrc -o main
  • Run:
./main

Debug with vscode

Config files .vscode folder as my setting.

Others

Useful tools: HTML color code extract code of colors within an image or a picture.