Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you build the minified version? #44

Closed
jwatte opened this issue Sep 7, 2013 · 1 comment
Closed

How do you build the minified version? #44

jwatte opened this issue Sep 7, 2013 · 1 comment

Comments

@jwatte
Copy link

jwatte commented Sep 7, 2013

I noticed that Vector3 defines an "Up" static. I find this to be a bad idea in scene graphs, because there really is no reason to specify a fixed "Up" -- it's all relative to the camera (and gravity,) both of which should be configurable to fit whatever scene the developer happens to be using.
It's easy to fix the users of Vector3.Up -- cameras can default to Y but have a property for changing; billboarding should use the current camera; and geometry construction can be defined to slice spheres across the Y axis.
But, now that I've edited the .js files and the TypeScript files -- how do I build the version to include?
And how do I know whether I broke anything -- are there any unit tests?
Given that "zip" files are checked in for the tools, rather than the actual working directories, it doesn't feel like the actual development repository is what's here on GitHub?

@deltakosh
Copy link
Contributor

Here is the "doc" for building minified version:
https://github.com/BabylonJS/Babylon.js/wiki/Creating-the-minified-version

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

No branches or pull requests

2 participants