Game Development Reference
In-Depth Information
Figure 9.8
Adding a project as a reference.
Tao.Platforms.Window . This is so the SimpleOpenGL control can be
added to the form and OpenGL can be set up. Some of this could be moved into
the engine library using a default set up class. The dll files for DevIL , ILU , and
ILUT need to be copied to the bin/debug/ and bin/release/ directories
of the EngineTest project.
Drop a SimpleOpenGL control on to the EngineTest form and set its dock
property to fill , the same way that you have done for earlier projects. Now
view the form.cs code.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace EngineTest
{
public partial class Form1 : Form
 
Search WWH ::




Custom Search