Skip to content

Commit

Permalink
updated code in README
Browse files Browse the repository at this point in the history
  • Loading branch information
groverburger committed Jan 20, 2021
1 parent 4f01b6d commit d555126
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ The entire `main.lua` file for the Earth and Moon demo is under 30 lines, as sho
g3d = require "g3d"

function love.load()
Earth = g3d.newModel("assets/sphere.obj", "assets/earth.png", {0,0,4}, nil, {-1,1,1})
Moon = g3d.newModel("assets/sphere.obj", "assets/moon.png", {5,0,4}, nil, {-0.5,0.5,0.5})
Earth = g3d.newModel("assets/sphere.obj", "assets/earth.png", {0,0,4})
Moon = g3d.newModel("assets/sphere.obj", "assets/moon.png", {5,0,4}, nil, {0.5,0.5,0.5})
Background = g3d.newModel("assets/sphere.obj", "assets/starfield.png", {0,0,0}, nil, {500,500,500})
Timer = 0
end
Expand Down

0 comments on commit d555126

Please sign in to comment.