This file contains 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
import React from 'react'; | |
import { | |
AppRegistry, | |
asset, | |
StyleSheet, | |
Pano, | |
Text, | |
View, | |
} from 'react-vr'; |
This file contains 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/gentest/gentest-javascript.js b/gentest/gentest-javascript.js | |
index 44b5209..93d547d 100644 | |
--- a/gentest/gentest-javascript.js | |
+++ b/gentest/gentest-javascript.js | |
@@ -50,6 +50,13 @@ JavascriptEmitter.prototype = Object.create(Emitter.prototype, { | |
}}, | |
emitTestEpilogue:{value:function(experiments) { | |
+ this.push([ | |
+ 'console.log(\'before instanceCount\', Yoga.instanceCount());', |
This file contains 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
#ifdef GL_ES | |
precision highp float; | |
#endif | |
uniform sampler2D from, to; | |
uniform float progress; | |
uniform vec2 resolution; | |
uniform sampler2D vec; | |
uniform float speed; | |
float sat(float a) { |
This file contains 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
<html> | |
<head> | |
</head> | |
<body> | |
<div> | |
Choose a GPX file to load<p> | |
Click on red bar to find location of transition point<p> | |
Click on add to save point and find others<p> | |
Use prev, next and zoom options to help<p> | |
Save option will save the splits to your local download folder<p> |
This file contains 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
// How I'm handling css-layout with ImGui | |
// Doesn't really scale for windows in windows but this isn't a problem I'm trying to solve | |
struct LayoutItem | |
{ | |
const char *text; | |
ImVec2 p, d; | |
OnClickedFunc onClicked; | |
ImIcon icon; | |
}; |
This file contains 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 <vector> | |
#include <string> | |
#include <map> | |
#include <exception> | |
#pragma warning( push ) | |
#pragma warning( disable : 4702 ) | |
namespace sl | |
{ |
This file contains 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
BoolExpression = | |
Expression "==" Expression | |
Expression ">=" Expression | |
Expression "<=" Expression | |
Expression ">" Expression | |
Expression "<" Expression | |
. | |
IfStatement = |
This file contains 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
// brickportals.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <malloc.h> | |
#include <vector> | |
#include <map> | |
#include <set> | |
class sparebitset |