Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

added typescript definition as best i could. #211

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

sidequestlegend
Copy link

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.

…global so integration is not quite as smooth as hoped, maybe that can be changed in future.
@stevenvergenz
Copy link
Contributor

Could you try to integrate with the repo's build system? And put the build into the root dist folder?

@sidequestlegend
Copy link
Author

Yep can do! I'll do some more on this later in the week.

@sidequestlegend
Copy link
Author

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?

@sidequestlegend
Copy link
Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants