Add a new OpenGL pyramid sample
This sample shows the use of modern OpenGL (3.2). Closes #16910.
This commit is contained in:
committed by
Vadim Zeitlin
parent
bdc95f5766
commit
d6fb44e158
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user