added typescript definition as best i could. #211
added typescript definition as best i could. #211sidequestlegend wants to merge 4 commits intoAltspaceVR:masterfrom
Conversation
…global so integration is not quite as smooth as hoped, maybe that can be changed in future.
|
Could you try to integrate with the repo's build system? And put the build into the root dist folder? |
|
Yep can do! I'll do some more on this later in the week. |
|
im wondering if the build should be intergrated with the altspace build, its really is intended as a standalone project template to be used with the compiled output from altspace. would it be better served in a different repo i wonder, with altspace as a submodule? I don't mind either way to be honest, what are your thoughts? |
|
I have had some trouble using these, i cant seem to get the scene to render in altspace when using the compiled output. i can access the api ok and the sdk appears to work ( getUser/getSpace/getEnclosure all work and resolve as they should ) but no objects appear int he scene. I will investigate more once i have more time on this. |
altspace uses the THREE global so does not integrate with THREE.js as i hoped it would but it is still usable from typescript.
the bundler adds the altspace and three.js libs to the compiled output.
Much more to add to the definitions file.