glob3mobile / g3m

The multiplatform advanced visualization framework
http://www.glob3mobile.com/
Other
117 stars 56 forks source link

Merging purgatory into osm_app branch #100

Closed nshoemaker closed 9 years ago

nshoemaker commented 9 years ago

Because I cannot commit to the g3m repo myself, I am making a pull request so @boyP can pull my changes into our branch.

All I have done so far is merge the changes from purgatory into the osm_app branch. Also checked that the project builds correctly.

nshoemaker commented 9 years ago

I have also started creating BoxShapes for each building. Currently testing on the first 10 buildings of each tile. Currently, the BoxShapes seem to be located at places other than where I would want them to be. Not sure if I am feeding position in wrong, or if things are growing upside down, through the earth, and back out the other side. Still need to debug.

DiegoGomezDeck commented 9 years ago

Currently, the BoxShapes seem to be located at places other than where I would want them to be.

Take in mind the "zero" of the Box's coordinate-system is its center.

nshoemaker commented 9 years ago

Thanks, @DiegoGomezDeck! We realized this and moved our position coordinates to the center of the box.

Originally, we were actually running into undefined behavior due to pointer issues with the position coordinates we gave the BoxShape.

We just fixed both problems though and so far, so good.

boyP commented 9 years ago

ios simulator screen shot apr 11 2015 3 58 55 pm