-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Replace "SMeshBuffer.h" with "CMeshBuffer.h" #16106
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
base: master
Are you sure you want to change the base?
Conversation
I don't think we want this. The current way is fine, less visual clutter and faster to type. |
True, but I think we should aim to take Would it be acceptable to add something like |
Oops, I didn't mean to push here |
2fb09e2
to
5b57e0a
Compare
This makes sense in principle, but Irrlicht is not an external library (anymore) and entirely under our control. |
I see. Would the ultimate goal be to get rid of the |
Dunno. |
54c58ab
to
1b99a8d
Compare
#include <IMeshManipulator.h> | ||
#include <CMeshBuffer.h> | ||
|
||
using namespace irr; |
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.
This PR adds a bunch of these (as well as namespace scene = irr:scene; namespace video = irr:video;
) which are redundant, as there is still the using namespace irr;
in irrlichttypes.h
?
For now I would curtail the scope of this PR and simply get rid of them.
I would prefer it if this was just what the PR title currently says it is which is something like a clean 10 loc diff, but I'm fine with keeping the header cleanup in here (and maybe updating the PR title).
SMeshBuffer.h
withCMeshBuffer.h
in header filesusing namespace irr;
to the corresponding.cpp
files in/src
using namespace irr
from header files in the futurevideo::SColor
toirr::video::SColor
)using namespace irr
from header files in the future/irr
directly#include "irr_ptr.h"
->#include <irr_ptr.h>
as an exampleSMeshBuffer.h
To do
This PR is Ready for Review.