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

Some open questions #12

Open
Doidel opened this issue May 30, 2014 · 1 comment
Open

Some open questions #12

Doidel opened this issue May 30, 2014 · 1 comment

Comments

@Doidel
Copy link

Doidel commented May 30, 2014

Hello vincent

I'm currently scanning through your code and there are a few things I don't quite understand yet. Would you mind answering them?

You use .obj for generating your terrain. What else is supported? There's a method initWithFileContent, what type of file content should/can that be?

In lib/index.js you create a new PathFinding instance with new PathFinding(this) however I see no constructor argument in pathfinding/index.js. Did I miss something? ^^

I hadn't had the opportunity yet to thoroughly scan through your code so forgive if a question seems "stupid". I might play around with your code on the weekend though - really looking forward to it 👍

@vincent
Copy link
Owner

vincent commented Jun 3, 2014

Hi,

  • .obj is the only supported format for now. initWithFileContent directly uses the corresponding C++ functions I've added in the RecastSource, they use a very similar code to load
  • I don't plan to support other formats but it could be nice, you have something in mind ?
  • good catch, this argument is not used, I'll clean that

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