diff --git a/Applications.txt b/Applications.txt index 36943545..f9900e5c 100644 --- a/Applications.txt +++ b/Applications.txt @@ -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", diff --git a/Applications/3DTest/3DTest.lua b/Applications/3DTest/3DTest.lua index f6e568c7..9125444f 100644 --- a/Applications/3DTest/3DTest.lua +++ b/Applications/3DTest/3DTest.lua @@ -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 ----------------------------------------------