由用户创建的信息 laishi
09 September 2015 12:09
09 September 2015 09:58
09 September 2015 06:13
09 September 2015 06:00
I noted :
B4W documentation For Application Developers use :
var m_main = b4w.require("main");
var m_data = b4w.require("data");
but blend4web_sdk_free/apps_dev/code_snippets/scripts/camera_animation.js use:
var m_data = require("data");
var m_app = require("app");
var m_cam = require("camera");
var m_cfg = require("config");
var m_ctl = require("controls");
var m_scenes = require("scenes");
var m_main = require("main");
var m_transform = require("transform");
var m_vec3 = require("vec3");
B4W documentation For Application Developers use :
var m_main = b4w.require("main");
var m_data = b4w.require("data");
but blend4web_sdk_free/apps_dev/code_snippets/scripts/camera_animation.js use:
var m_data = require("data");
var m_app = require("app");
var m_cam = require("camera");
var m_cfg = require("config");
var m_ctl = require("controls");
var m_scenes = require("scenes");
var m_main = require("main");
var m_transform = require("transform");
var m_vec3 = require("vec3");
09 September 2015 05:52
28 August 2015 21:32