-
Notifications
You must be signed in to change notification settings - Fork 1
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
Feature/publish to sketchfab #2
base: master
Are you sure you want to change the base?
Conversation
c74aa70
to
25bd164
Compare
25bd164
to
1399096
Compare
if ( lastSplitBackslash > lastSplit ) | ||
lastSplit = lastSplitBackslash; | ||
if ( lastSplitSlash > lastSplit ) | ||
lastSplit = lastSplitSlash; |
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.
overall indentation
also what happens if worldPath
contains neither \
nor /
?
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.
It should be ok since lastSplit is initialized with worldPath ?
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.
So you're relying on the fact that NULL is 0? I don't like it very much. Also, does it make sense to search for both /
and \
? Aren't you just looking for the basename?
2ad4c28
to
37ef112
Compare
89be329
to
bba57d5
Compare
7ed25e7
to
54c5946
Compare
4b878f7
to
9be40d2
Compare
9be40d2
to
e09ccd4
Compare
No description provided.