Skip to content

Commit d555126

Browse files
committed
updated code in README
1 parent 4f01b6d commit d555126

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ The entire `main.lua` file for the Earth and Moon demo is under 30 lines, as sho
4040
g3d = require "g3d"
4141

4242
function love.load()
43-
Earth = g3d.newModel("assets/sphere.obj", "assets/earth.png", {0,0,4}, nil, {-1,1,1})
44-
Moon = g3d.newModel("assets/sphere.obj", "assets/moon.png", {5,0,4}, nil, {-0.5,0.5,0.5})
43+
Earth = g3d.newModel("assets/sphere.obj", "assets/earth.png", {0,0,4})
44+
Moon = g3d.newModel("assets/sphere.obj", "assets/moon.png", {5,0,4}, nil, {0.5,0.5,0.5})
4545
Background = g3d.newModel("assets/sphere.obj", "assets/starfield.png", {0,0,0}, nil, {500,500,500})
4646
Timer = 0
4747
end

0 commit comments

Comments
 (0)