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
				
			@@ -38,7 +38,7 @@ MAKEARGS = LINK_DLL_FLAGS="$(LINK_DLL_FLAGS)" \
 | 
			
		||||
 | 
			
		||||
### Targets: ###
 | 
			
		||||
 | 
			
		||||
all: cube isosurf penguin
 | 
			
		||||
all: cube isosurf penguin pyramid
 | 
			
		||||
 | 
			
		||||
clean: 
 | 
			
		||||
	-if exist .\*.o del .\*.o
 | 
			
		||||
@@ -46,6 +46,7 @@ clean:
 | 
			
		||||
	$(MAKE) -C cube -f makefile.gcc $(MAKEARGS) clean
 | 
			
		||||
	$(MAKE) -C isosurf -f makefile.gcc $(MAKEARGS) clean
 | 
			
		||||
	$(MAKE) -C penguin -f makefile.gcc $(MAKEARGS) clean
 | 
			
		||||
	$(MAKE) -C pyramid -f makefile.gcc $(MAKEARGS) clean
 | 
			
		||||
 | 
			
		||||
cube: 
 | 
			
		||||
	$(MAKE) -C cube -f makefile.gcc $(MAKEARGS) all
 | 
			
		||||
@@ -56,7 +57,10 @@ isosurf:
 | 
			
		||||
penguin: 
 | 
			
		||||
	$(MAKE) -C penguin -f makefile.gcc $(MAKEARGS) all
 | 
			
		||||
 | 
			
		||||
.PHONY: all clean cube isosurf penguin
 | 
			
		||||
pyramid: 
 | 
			
		||||
	$(MAKE) -C pyramid -f makefile.gcc $(MAKEARGS) all
 | 
			
		||||
 | 
			
		||||
.PHONY: all clean cube isosurf penguin pyramid
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
SHELL := $(COMSPEC)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user