Интро забыл

This commit is contained in:
Igor Timofeev 2017-03-14 21:05:13 +03:00
parent 0528499e8e
commit 2293ea9044
2 changed files with 12 additions and 12 deletions

View File

@ -530,7 +530,7 @@
type="Application",
icon="IgorTimofeev/OpenComputers/master/Applications/3DTest/Icon.pic",
createShortcut="desktop",
version=1.10,
version=1.11,
},
{
name="MineOS/Applications/GeoScan2",

View File

@ -29,7 +29,7 @@ local polyCatEngine = require("PolyCatEngine/Main")
-- /MineOS/Desktop/3DTest.app/3DTest.lua
buffer.start()
-- polyCatEngine.intro(vector.newVector3(0, 0, 0), 20)
polyCatEngine.intro(vector.newVector3(0, 0, 0), 20)
local mainWindow = windows.fullScreen()
local scene = polyCatEngine.newScene(0x1D1D1D)
scene:addLight(polyCatEngine.newLight(vector.newVector3(0, 20, 0), 1000))
@ -153,16 +153,16 @@ local function renderWorld()
end
end
setBlock(1, 1, 1, 0xFFFFFF)
-- local hue, hueStep = 0, 360 / 9
-- for i = -1, 1 do
-- for j = -1, 1 do
-- if not (i == 0 and j == 0) then
-- setBlock(i, 0, j, colorlib.HSBtoHEX(hue, 100, 100))
-- hue = hue + hueStep
-- end
-- end
-- end
-- setBlock(1, 1, 1, 0xFFFFFF)
local hue, hueStep = 0, 360 / 9
for i = -1, 1 do
for j = -1, 1 do
if not (i == 0 and j == 0) then
setBlock(i, 0, j, colorlib.HSBtoHEX(hue, 100, 100))
hue = hue + hueStep
end
end
end
---------------------------------------------- Cat ----------------------------------------------