Skip to content

Commit

Permalink
correction in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mgvez committed Aug 9, 2015
1 parent 9db0764 commit 6ef4ced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Computes planet positions, plus the Earth's Moon, on any given UTC time.
Include planet-positions.js (or planet-positions.min.js), then call

```javascript
var planets = window.lagrange.planet_positions(new Date());
var planets = window.lagrange.planet_positions.getPositions(new Date());
```

An array of objects will be returned, one for each planet, with a Three.js Vector3 as the planet's position. If you also want to receive the planet's velocity as a Vector3, specify a second parameter set to true.
Expand Down

0 comments on commit 6ef4ced

Please sign in to comment.