Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

Commit

Permalink
Fixing threejs links in documentation
Browse files Browse the repository at this point in the history
Summary:
## Motivation (required)

Doc links to threejs.org were broken

## Test Plan (required)

Review documentation and follow links
Closes #181

Reviewed By: andrewimm

Differential Revision: D5018421

Pulled By: andrewimm

fbshipit-source-id: aa043f1
  • Loading branch information
ryanmurakami authored and facebook-github-bot committed May 8, 2017
1 parent 6dd8ed3 commit 9c14749
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Libraries/Lights/DirectionalLight.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const requireNativeComponent = require('requireNativeComponent');
*
* Representation of
*
* https://threejs.org/docs/index.html#Reference/Lights/DirectionalLight
* https://threejs.org/docs/index.html#api/lights/DirectionalLight
*/
const DirectionalLight = React.createClass({
mixins: [NativeMethodsMixin],
Expand Down
2 changes: 1 addition & 1 deletion Libraries/Lights/PointLight.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const requireNativeComponent = require('requireNativeComponent');
* Light originates from a single point, and spreads outward in all directions.
*
* Representation of
* https://threejs.org/docs/index.html#Reference/Lights/PointLight
* https://threejs.org/docs/index.html#api/lights/PointLight
*/
const PointLight = React.createClass({
mixins: [NativeMethodsMixin],
Expand Down
2 changes: 1 addition & 1 deletion Libraries/Lights/SpotLight.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const requireNativeComponent = require('requireNativeComponent');
* Light originates from a single point, and spreads outward in a cone.
*
* Representation of
* https://threejs.org/docs/index.html#Reference/Lights/SpotLight
* https://threejs.org/docs/index.html#api/lights/SpotLight
*/
const SpotLight = React.createClass({
mixins: [NativeMethodsMixin],
Expand Down
2 changes: 1 addition & 1 deletion ReactVR/js/Views/AmbientLight.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

/**
* RCTAmbientLight: runtime implementation of the <AmbientLight >
* https://threejs.org/docs/index.html#Reference/Lights/AmbientLight
* https://threejs.org/docs/index.html#api/lights/AmbientLight
* @class RCTAmbientLight
* @extends RCTBaseView
* @flow
Expand Down
1 change: 1 addition & 0 deletions ReactVR/js/Views/DirectionalLight.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

/**
* RCTDirectionalLight: runtime implementation of the <DirectionalLight >
* https://threejs.org/docs/index.html#api/lights/DirectionalLight
* Directional light implemented with PointLight with no decay and no distance falloff
* Workaround for directional lights not correctly functioning, will revisit
* @class RCTAmbientLight
Expand Down
2 changes: 1 addition & 1 deletion ReactVR/js/Views/PointLight.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

/**
* RCTPointLight: runtime implementation of the <PointLight >
* https://threejs.org/docs/index.html#Reference/Lights/PointLight
* https://threejs.org/docs/index.html#api/lights/PointLight
* @class RCTAmbientLight
* @extends RCTBaseView
*/
Expand Down
2 changes: 1 addition & 1 deletion ReactVR/js/Views/SpotLight.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

/**
* RCTSpotLight: runtime implementation of the <SpotLight >
* https://threejs.org/docs/index.html#Reference/Lights/SpotLight
* https://threejs.org/docs/index.html#api/lights/SpotLight
* @class RCTSpotLight
* @extends RCTBaseView
*/
Expand Down

0 comments on commit 9c14749

Please sign in to comment.