-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Documentation Update:Webgl - .lib files not supported #7454
Changes from 1 commit
96cc6f6
b8bdc20
d0715af
97e495f
e13f48d
4d9a9d3
e732dfa
1aedfad
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -143,5 +143,8 @@ | |
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"dependencies": { | ||
"p5": "file:" | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,8 @@ import './p5.Geometry'; | |
* `loadModel('assets/model.obj')`. URLs such as | ||
* `'https://example.com/model.obj'` may be blocked due to browser security. | ||
* | ||
* Note: Currently there is no support for `.lib` files. Only `.mtl` files are supported for defining materials. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Rather than just mentioning formats we don't support that users may not have heard of, maybe we can phrase this like, "if you are loading a .obj file that references materials stored in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @davepagurek Thankyou for the feedback! |
||
* | ||
* The first way to call `loadModel()` has three optional parameters after the | ||
* file path. The first optional parameter, `successCallback`, is a function | ||
* to call once the model loads. For example, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we don't need these changes just to change the documentation. You can reset them with
git checkout main -- package-lock.json package.json
and then commit the results.