Add a new OpenGL pyramid sample

This sample shows the use of modern OpenGL (3.2).

Closes #16910.
This commit is contained in:
Manuel Martin
2016-02-23 00:52:28 +01:00
committed by Vadim Zeitlin
parent bdc95f5766
commit d6fb44e158
27 changed files with 6418 additions and 68 deletions

View File

@@ -45,7 +45,7 @@ MAKEARGS = -DCC="$(CC)" -DCXX="$(CXX)" -DCFLAGS="$(CFLAGS)" \
### Targets: ###
all: cube isosurf penguin
all: cube isosurf penguin pyramid
clean:
-if exist .\*.obj del .\*.obj
@@ -63,6 +63,10 @@ clean:
@echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>penguin.bat
call penguin.bat
@del penguin.bat
@echo cd pyramid >pyramid.bat
@echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>pyramid.bat
call pyramid.bat
@del pyramid.bat
cube:
@echo cd cube >cube.bat
@@ -82,3 +86,9 @@ penguin:
call penguin.bat
@del penguin.bat
pyramid:
@echo cd pyramid >pyramid.bat
@echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>pyramid.bat
call pyramid.bat
@del pyramid.bat