Closed d-prukop closed 6 years ago
https://github.com/mapbox/react-native-mapbox-ar/blob/89685e404093efe5874924970bb3cb7a9a556761/android/rctmapboxar/src/main/java/com/mapbox/react/ar/math/Vector3.java#L34
x, y and z should be preserved until after the calculations are finished.
Great catch, I'll push an update to the android-terrain branch
android-terrain
https://github.com/mapbox/react-native-mapbox-ar/blob/89685e404093efe5874924970bb3cb7a9a556761/android/rctmapboxar/src/main/java/com/mapbox/react/ar/math/Vector3.java#L34
x, y and z should be preserved until after the calculations are finished.