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) | |
MAX_VEL = 256 | |
ROT_AXIS0 = 1 | |
ROT_AXIS1 = 3 | |
FOLLOW = nil | |
CAMERA = nngn:camera() | |
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 | |
toggle_perspective = toggle_perspective | |
set_fov_z = set_fov_z | |
following = following | |
toggle_follow = toggle_follow | |
set_follow = set_follow | |
move = move | |
rotate = rotate | |
remove_limits = remove_limits | |
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 |
following = following |
get = get |
MAX_VEL = 256 |
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) |
function remove_limits = remove_limits |
reset = reset |
ROT_AXIS0 = 1 |
ROT_AXIS1 = 3 |
ROT_VEL = ROT_VEL |
rotate = rotate |
set = set |
set_follow = set_follow |
function set_fov_z = set_fov_z |
set_max_vel = set_max_vel |
set_perspective = set_perspective |
set_rot_axes = set_rot_axes |
toggle_follow = toggle_follow |
function toggle_perspective = toggle_perspective |
utils< const > = require "nngn.lib.utils" |
ZOOM_VEL = ZOOM_VEL |