where are namespaces defined

emugod
Member
 
Posts: 33
Joined: Tue Aug 13, 2013 19:49

where are namespaces defined

by emugod » Thu Aug 07, 2014 00:19

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::
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: where are namespaces defined

by rubenwardy » Thu Aug 07, 2014 14:45

video, core, io, scene are all sub namespaces in the irr namespace, supplied by the Irrlicht engine.
 

emugod
Member
 
Posts: 33
Joined: Tue Aug 13, 2013 19:49

Re: where are namespaces defined

by emugod » Thu Aug 07, 2014 21:10

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.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: where are namespaces defined

by rubenwardy » Fri Aug 08, 2014 09:24

Ask on the Irrlicht forums.
 


Return to Minetest Engine

Who is online

Users browsing this forum: No registered users and 21 guests

cron