where are namespaces defined
where are namespaces defined
Where are namespaces defined? For example video:: ? Are they all over or is there generally one large collection? or are these subspaces of core::, or something? I've looked in all the places I could think they might be (primarily headers included in files where they're used), but haven't found any but irr::
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: where are namespaces defined
video, core, io, scene are all sub namespaces in the irr namespace, supplied by the Irrlicht engine.
Re: where are namespaces defined
ok, thanks. I'm looking through drawscene.cpp, you wouldn't happen to know whererubenwardy wrote:video, core, io, scene are all sub namespaces in the irr namespace, supplied by the Irrlicht engine.
Code: Select all
driver->setTransform(video::ETS_WORLD, core::IdentityMatrix);
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: where are namespaces defined
Ask on the Irrlicht forums.
Who is online
Users browsing this forum: No registered users and 2 guests