Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js ar - dragging</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link type="text/css" rel="stylesheet" href="main.css">
</head>
<body>
<!-- Import maps polyfill -->
#include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
}
//--------------------------------------------------------------
void ofApp::update(){
#include "ofMain.h"
#include "ofAppiOSWindow.h"
class ofApp : public ofBaseApp{
public:
ofFbo fbo;
void setup(){
@julapy
julapy / main
Created November 11, 2011 02:21
main test
#include "ofMain.h"
#include "EarthApp.h"
#include "EarthConstants.h"
#include "ofAppGlutWindow.h"
//========================================================================
int main( )
{
ofAppGlutWindow window;
ofSetupOpenGL( &window, screenOneRect.width, screenOneRect.height, OF_WINDOW );