nngn
|
Functions | |
function | set (c) |
function | set_max_vel (v) |
function | set_rot_axes (a0, a1) |
function | reset (zoom) |
function | set_perspective (p) |
function | set_follow (e) |
function | move (key, press, mods, keys) |
function | rotate (x, y) |
Variables | |
nngn_math< const > = require "nngn.lib.math" | |
utils< const > = require "nngn.lib.utils" | |
PERSP_ANGLE< const > = math.rad(60) | |
PERSP_ANGLE_SIN< const > = math.sin(PERSP_ANGLE) | |
PERSP_ANGLE_COS< const > = math.cos(PERSP_ANGLE) | |
ROT_AXIS0 = 1 | |
ROT_AXIS1 = 3 | |
FOLLOW = nil | |
CAMERA = nngn:camera() | |
MAX_VEL = MAX_VEL | |
ROT_VEL = ROT_VEL | |
ZOOM_VEL = ZOOM_VEL | |
get = get | |
set = set | |
set_max_vel = set_max_vel | |
set_rot_axes = set_rot_axes | |
reset = reset | |
set_perspective = set_perspective | |
following = following | |
toggle_follow = toggle_follow | |
set_follow = set_follow | |
move = move | |
rotate = rotate | |
function move | ( | key | , |
press | , | ||
mods | , | ||
keys | |||
) |
function reset | ( | zoom | ) |
function rotate | ( | x | , |
y | |||
) |
function set | ( | c | ) |
function set_follow | ( | e | ) |
function set_max_vel | ( | v | ) |
function set_perspective | ( | p | ) |
function set_rot_axes | ( | a0 | , |
a1 | |||
) |
CAMERA = nngn:camera() |
FOLLOW = nil |
function following = following |
function get = get |
MAX_VEL = MAX_VEL |
move = move |
nngn_math< const > = require "nngn.lib.math" |
PERSP_ANGLE< const > = math.rad(60) |
PERSP_ANGLE_COS< const > = math.cos(PERSP_ANGLE) |
PERSP_ANGLE_SIN< const > = math.sin(PERSP_ANGLE) |
reset = reset |
ROT_AXIS0 = 1 |
ROT_AXIS1 = 3 |
ROT_VEL = ROT_VEL |
rotate = rotate |
set = set |
set_follow = set_follow |
set_max_vel = set_max_vel |
set_perspective = set_perspective |
set_rot_axes = set_rot_axes |
function toggle_follow = toggle_follow |
utils< const > = require "nngn.lib.utils" |
ZOOM_VEL = ZOOM_VEL |