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

@@ -0,0 +1,29 @@
<?xml version="1.0" ?>
<makefile>
<include file="../../../build/bakefiles/common_samples.bkl"/>
<if cond="OUT_OF_TREE_MAKEFILES=='1'">
<set var="USE_OPENGL">1</set>
</if>
<exe id="pyramid" template="wx_sample" template_append="wx_append" cond="USE_OPENGL=='1'">
<sources>
pyramid.cpp
oglstuff.cpp
mathstuff.cpp
oglpfuncs.cpp
</sources>
<headers>
pyramid.h
oglstuff.h
mathstuff.h
oglpfuncs.h
</headers>
<wx-lib>gl</wx-lib>
<wx-lib>core</wx-lib>
<wx-lib>base</wx-lib>
</exe>
</makefile>