2012-04-05 15 views

答えて

0

OPによる解決策。

Problem has been: I was generating random coords in some area. So, my number has mistaken data type. Not "100." (CGFloat), but "100" (NSUInteger). So 100/1000 was 0, not 0.1 (100./1000). After this bad math system returns coords that never exists on Earth.

関連する問題