0 Members and 1 Guest are viewing this topic.
draw chip to texturedraw textured planeadjust camera over planeadjust u,v texture coordinates.
i think this might be a step too much for NaniBot at this early stage guys
#include "wglext.h"PFNWGLSWAPINTERVALEXTPROC wglSwapIntervalEXT = (PFNWGLSWAPINTERVALEXTPROC) wglGetProcAddress("wglSwapIntervalEXT");if (wglSwapIntervalEXT) wglSwapIntervalEXT(1);
Quote from: ninogenio on August 14, 2013 i think this might be a step too much for NaniBot at this early stage guysThat's probably true but it would be kind to enable vsync using the following code:#include "wglext.h"PFNWGLSWAPINTERVALEXTPROC wglSwapIntervalEXT = (PFNWGLSWAPINTERVALEXTPROC) wglGetProcAddress("wglSwapIntervalEXT");if (wglSwapIntervalEXT) wglSwapIntervalEXT(1);