ios version, replace tab with space and some code adjustment
Merge pull request #5 from super626/3d-extension

3d math