Page 1 of 1

where are namespaces defined

PostPosted: Thu Aug 07, 2014 00:19
by emugod
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::

Re: where are namespaces defined

PostPosted: Thu Aug 07, 2014 14:45
by rubenwardy
video, core, io, scene are all sub namespaces in the irr namespace, supplied by the Irrlicht engine.

Re: where are namespaces defined

PostPosted: Thu Aug 07, 2014 21:10
by emugod
rubenwardy wrote:video, core, io, scene are all sub namespaces in the irr namespace, supplied by the Irrlicht engine.

ok, thanks. I'm looking through drawscene.cpp, you wouldn't happen to know where
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
driver->setTransform(video::ETS_WORLD, core::IdentityMatrix);

these variables (video::ETS_WORLD and core::IdentityMatrix) are actually being manipulated, would you? I've searched around places I considered likely, with no results.

Re: where are namespaces defined

PostPosted: Fri Aug 08, 2014 09:24
by rubenwardy
Ask on the Irrlicht forums.