Skip to content

Instantly share code, notes, and snippets.

View DavidYKay's full-sized avatar

David Young-Chan Kay DavidYKay

View GitHub Profile
@DavidYKay
DavidYKay / HelloOpenVR_GLFW.cpp
Last active September 21, 2018 03:59 — forked from VirtuosoChris/HelloOpenVR_GLFW.cpp
Minimal OpenVR + GLFW Example
/**** Minimal OpenVR example : outputs textures to the headset, a different color in each eye. No head tracking or input anywhere. Bare minimum. ****/
/// header only extension loader and object oriented bindings -- ref : https://github.com/VirtuosoChris/glhpp
#define GL_ALT_GL_API 1
#define GL_ALT_GLES_API 2
#include <glalt/gl4.5.h> // opengl api
#include <glalt/glext.h>
#include <opengl.hpp> // object oriented bindings
{"fetchResponse":{"responseCode":"NEW","responseCodeInt":4,"success":true,"data":[{"duration":0,"plannedEffort":90000000,"dates":{"plannedEarlyStart":"2013-01-01T23:54:24+0000","plannedEarlyFinish":"2013-12-31T23:54:24+0000","plannedLateStart":"2013-01-01T23:54:24+0000","plannedLateFinish":"2013-12-31T23:54:24+0000"},"resources":[{"personID":"512ce2e3e4b0355eee5044cf","billable":true,"subID":0}],"schedConstraints":[],"billable":false,"scheduled":false,"milestone":false,"externalService":false,"client":160,"text":[{"textType":"BusText","language":"en","text":"First Stage","original":false,"subID":0}],"hierarchies":[],"busUnits":["5123c186e4b06624ba84f79d"],"extID":"PRJ006-1","responsible":"512ce2e3e4b0355eee5044cf","assigned":["512ce2e3e4b0355eee5044cf"],"categories":[],"recentHistory":[],"files":[],"updateLock":false,"tags":[],"comments":[],"messages":[],"template":false,"intStatus":0,"id":"512d4b9ae4b0320061c843d8","createdOn":"2013-02-26T23:56:10+0000","createdBy":"512ce2e3e4b0355eee5044ce","changedOn":"201