vec2 offSet[4];
offSet[0] = vec2(0.,0.);
offSet[1] = vec2(0.,1.);
offSet[2] = vec2(1.,0.);
offSet[3] = vec2(1.,1.);
vec3 zAxis = normalize( vNormal[0] );
vec3 yAxis = vec3( 0.0, 1.0, 0.0 );
vec3 xAxis = normalize( cross(zAxis, yAxis) );
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
var url = "http://syedrezaali.com/apps/vase/?"; | |
var params = { | |
"Facets": Math.random() * 6 | |
,"Top%20Radius": Math.random() * 3 | |
,"Bottom%20Radius": Math.random() * 30 | |
,"Transition%20Radius": Math.random() * 30 | |
,"Layers": Math.random() * 30 | |
,"Height": Math.random() * 30 | |
,"Transition%20Height": Math.random() * 30 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// This is an automatically generated file. | |
// Do not edit. | |
// | |
const unsigned short expTable[] = | |
{ | |
0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, | |
0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, | |
0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, |
Our goal is to run python -c "import caffe"
without crashing. For anyone who doesn't spend most of their time with build systems, getting to this point can be extremely difficult on OS X. Instead of providing a list of steps to follow, I'll try to epxlain why each step happens.
This page has OS X specific install instructions.
I assume:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/libs/zmq/src/config.hpp b/libs/zmq/src/config.hpp | |
index 6e5ef5a..5c1e6c8 100644 | |
--- a/libs/zmq/src/config.hpp | |
+++ b/libs/zmq/src/config.hpp | |
@@ -20,6 +20,8 @@ | |
#ifndef __ZMQ_CONFIG_HPP_INCLUDED__ | |
#define __ZMQ_CONFIG_HPP_INCLUDED__ | |
+#undef check | |
+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ofMain.h" | |
class ofApp : public ofBaseApp | |
{ | |
public: | |
void setup() | |
{ | |
// GLFW Monitor handling |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ofMain.h" | |
class ofApp : public ofBaseApp | |
{ | |
const int limit = 100; | |
const int num_col = 10; | |
const int col_size = 25; | |
public: | |