Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


How to get the extent of a map
jorgeas80 Offline
Junior Member

Posts: 21
Threads: 7
Joined: Jan 2014
Reputation: 0
#1
How to get the extent of a map

Hello,

I'd like to know how to get the dimensions of a map (in other words: the extent of the world that the map represents). I guess this is stored in the DAE file, and somehow is read by the engine, but I can't find it.

Closest thing I've found is the cWorld3D::mvWorldSize vector, but looks like always stores (0, 0, 0). Actually, that parameters is only set in cWorld2D class. Looks like is not even used in cWorld3D class.

Any clues?
03-05-2014, 06:48 PM
Website Find Reply




Users browsing this thread: 1 Guest(s)