10 Commits

Author SHA1 Message Date
Gaëtan Renaudeau
b506c56061 prettier pass: don't use es5 trailing comma 2017-07-04 18:15:29 +02:00
Gaëtan Renaudeau
0f500100aa update flow & prettier 2017-07-04 16:05:11 +02:00
Gaëtan Renaudeau
c3a09a7f3f port EXGLView for RN 0.45 2017-07-04 12:48:27 +02:00
Gaëtan Renaudeau
0b502ce51b sync EXGLView code 2017-06-30 11:00:58 +02:00
Gaëtan Renaudeau
f189a0aebd add a standalone camera expo example 2017-05-15 11:56:02 +02:00
Gaëtan Renaudeau
cff1bd7e4c update dev deps & drop eslint 2017-04-30 17:07:19 +02:00
Gaëtan Renaudeau
c16cebc165 Unify cookbook-rn & cookbook-expo code! also prettier pass on the proj 2017-04-30 15:21:34 +02:00
Gaëtan Renaudeau
d4ea74d922 fixes https://github.com/gre/gl-react/issues/97
upgrade some projects.. next release will be 3.0.0 ! not that it's fully ready yet (will still be in @next, but in order to get semver on track.. & so the projects can properly dep on the right version)
there were currently an issue with gl-react@3.0.0-alpha1 being installed instead of gl-react@3.0.0-alpha.8 when not depending on exact version, 'cause it's just not very compliant with semver
2017-04-23 17:12:42 +02:00
Gaëtan Renaudeau
18af63aac8 add an example using Three.js 2017-03-14 12:14:42 +01:00
Gaëtan Renaudeau
4d4b567726 fundamentally refactor the way width/height works
in gl-react: the context no longer have {width,height} but have {glSizable} which is an object with a getGLSize function. the size is dynamically calculated in the graph & using gl.drawingBufferWidth / gl.drawingBufferHeight which allows more flexible implementations.
in gl-react-dom: nothing fundamentally changes
in gl-react-native/exponent: Surface no longer takes width/height props! instead, it is just the style object, like any usual React Native view. e.g. you can use flexbox!
2017-03-02 14:42:21 +01:00