Skip to content

Instantly share code, notes, and snippets.

View axjxwright's full-sized avatar

axjxwright

View GitHub Profile
@axjxwright
axjxwright / AntTweakBarTest.cxx
Last active August 29, 2015 14:18
Standalone AntTweakBar test application
/**
* Compile with Makefile. Assumes glfw3 and AntTweakBar are in /usr/local/ (via homebrew on osx)
* all:
* clang++ Main.cxx -o main -framework OpenGL -framework IOKit -framework Cocoa -L/usr/local/lib -I/usr/local/include -lglfw3 -lanttweakbar -std=c++11 -stdlib=libc++ -Wno-deprecated-register -Wno-shift-op-parentheses
*
* Standalone AntTweakBar (version 1.16) test application
**/
#include <GLFW/glfw3.h>
#include <iostream>
#include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
using namespace ci;
using namespace ci::app;
using namespace std;
class LinesApp : public App
{
#include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "cinder/Rand.h"
#include "cinder/Camera.h"
#include "cinder/CameraUi.h"
#include "cinder/ip/Checkerboard.h"
using namespace ci;
#include "draw.h"
#include <fstream>
#include <cmath>
#include <cassert>
namespace lithium
{
Surface::Surface ( std::uint32_t w, std::uint32_t h, const Color& bg )
: _width ( w )
, _height ( h )
#include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "cinder/Rand.h"
#include "cinder/CameraUi.h"
#include "cinder/Perlin.h"
using namespace ci;
using namespace ci::app;
#include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "cinder/Rand.h"
#include "cinder/CameraUi.h"
#include "cinder/Perlin.h"
using namespace ci;
using namespace ci::app;
#include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
using namespace ci;
using namespace ci::app;
using namespace std;
class MeshCombineApp : public App
{
/*
Copyright (c) 2010, The Barbarian Group
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that
the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and
the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
#include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "cinder/qtime/QuickTimeGl.h"
using namespace ci;
using namespace ci::app;
using namespace std;
#include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "cinder/Timeline.h"
#include "cinder/Rand.h"
using namespace ci;
using namespace ci::app;
using namespace std;