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
Add meshnode drawtype. #1738
Add meshnode drawtype. #1738
Conversation
+1, providing NodeBoxes are not depreciated, as they are a simple, clean format. (Call me biased) And that this doesn't decrease performance. |
The nodeboxes stay as simple way to create primitive meshes. |
Things I would like to see defined in this commit: Screenshots |
I agree with @Jordach |
@Jordach, i will add docs later today. |
How is collision handled? |
bbox = buf->getBoundingBox(); | ||
else | ||
bbox.addInternalBox(buf->getBoundingBox()); | ||
src_mesh->setBoundingBox(bbox); |
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.
Indentation!
Meshnodes have default collision box of regular node size. |
for(std::vector<aabb3f>::iterator | ||
i = boxes.begin(); | ||
i != boxes.end(); i++) | ||
{ |
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.
coding style pls (above and below)
Also convert nodeboxes to meshnodes on startup.