separate platform functions from main

This commit is contained in:
Stewart Allen 2022-02-17 21:52:54 -05:00
commit a1d592837d
6 changed files with 882 additions and 798 deletions

View file

@ -36,7 +36,8 @@ kiri.load(function() {
if (KIRI.client)
CAM.animate = function(api, delay) {
SPACE = (API = api).const.SPACE;
API = api;
SPACE = KIRI.space;
WORLD = SPACE.world;
KIRI.client.animate_setup(API.conf.get(), data => {
checkMeshCommands(data);