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

@@ -36,7 +36,7 @@ MAKEARGS = CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \
### Targets: ###
all: sub_cube sub_isosurf sub_penguin
all: sub_cube sub_isosurf sub_penguin sub_pyramid
clean:
-if exist .\*.obj del .\*.obj
@@ -51,6 +51,9 @@ clean:
cd penguin
$(MAKE) -f makefile.vc $(MAKEARGS) clean
cd "$(MAKEDIR)"
cd pyramid
$(MAKE) -f makefile.vc $(MAKEARGS) clean
cd "$(MAKEDIR)"
sub_cube:
cd cube
@@ -67,3 +70,8 @@ sub_penguin:
$(MAKE) -f makefile.vc $(MAKEARGS) all
cd "$(MAKEDIR)"
sub_pyramid:
cd pyramid
$(MAKE) -f makefile.vc $(MAKEARGS) all
cd "$(MAKEDIR)"