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
| // @flow | |
| import { ARKit } from 'react-native-arkit' | |
| import React, { Component } from 'react' | |
| import type { Vector3 } from '../../../types' | |
| import { center, diff, distance, add } from '../../../libs/math/vectorUtils' | |
| type Props = { | |
| from: Vector3, | |
| to: Vector3, |
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
| // @flow | |
| // TODO: use proper vector library | |
| import type { Plane, Ray, Vector3 } from '../../types' | |
| export const UP = { | |
| x: 0, | |
| y: 1, | |
| z: 0, | |
| } |
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
| import { compose } from 'recompose' | |
| import { connect } from 'react-redux' | |
| import { withNavigationFocus } from 'react-navigation' | |
| import { graphql } from 'react-apollo' | |
| import { isFunction } from 'lodash' | |
| import type { State } from '../../../redux/rootReducer' | |
| export const defaultOptions = polling => ({ | |
| pollInterval: polling ? DEFAULT_POLL_INTERVAL : 0, |
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
| import { FlowRouter } from 'meteor/ostrio:flow-router-extra'; | |
| import { FastRender } from 'meteor/staringatlights:fast-render'; | |
| import { InjectData } from 'meteor/staringatlights:inject-data'; | |
| import { Random } from 'meteor/random'; | |
| import { renderToString } from 'react-dom/server'; | |
| import React from 'react'; | |
| import Radium from 'radium'; | |
| import { Helmet } from 'react-helmet'; | |
| import Loadable from 'react-loadable'; |
OlderNewer