随笔分类 -  OpenGL

摘要:https://solarianprogrammer.com/2016/11/19/swift-opengl-linux-macos-glfw/ Swift 3 and OpenGL on Linux and macOS with GLFW Posted on November 19, 2016 b 阅读全文
posted @ 2016-11-21 10:33 一个橙子~ 阅读(651) 评论(0) 推荐(0)
摘要:#include <GLUT/GLUT.h> void display() { glClear(GL_ENABLE_BIT); glBegin(GL_POLYGON); glVertex2f(-0.5, -0.5); glVertex2f(-0.5, 0.5); glVertex2f(0.5, 0. 阅读全文
posted @ 2016-10-09 10:16 一个橙子~ 阅读(3592) 评论(2) 推荐(0)
摘要:#include "stdafx.h"#include #include #pragma comment(linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"")#include#includeusing namespace std;v... 阅读全文
posted @ 2015-03-16 17:16 一个橙子~ 阅读(1608) 评论(0) 推荐(0)