This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using DotGLFW; | |
using static DotGL.GL; | |
class Program | |
{ | |
/// <summary> | |
/// Obligatory name for your first OpenGL example program. | |
/// </summary> | |
private const string TITLE = "Hello Triangle!"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
using System.Runtime.InteropServices; | |
using System.Security; | |
using System.Text; | |
namespace OpenGL | |
{ | |
/// <summary> | |
/// Returns a function pointer for the OpenGL function with the specified name. |