nngn
|
Functions | |
local | vec3 (0, 1, 0) |
local | vec3 (0, 0, 1) |
function | demo_start () end |
Variables | |
local | camera = require "nngn.lib.camera" |
local | entity = require "nngn.lib.entity" |
local | N |
local | S< const > = 32 |
local local | vec3< const > = require("nngn.lib.math").vec3 |
local | r |
local | g |
local | b< const > = vec3(1, 0, 0) |
for | i = 0 |
for N | do |
local | c = vec3(i / N) |
pos = {S * (i - N / 2), t[1], 0} | |
renderer = {type = Renderer.CUBE, color = t[2], size = S} | |
function demo_start | ( | ) |
local vec3 | ( | 0 | , |
0 | , | ||
1 | ) |
local vec3 | ( | 0 | , |
1 | , | ||
0 | ) |
local camera = require "nngn.lib.camera" |
for N do |
local entity = require "nngn.lib.entity" |
local g |
for i = 0 |
local N |
local r |
renderer = {type = Renderer.CUBE, color = t[2], size = S} |