react-native-cesium 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -58,7 +58,8 @@ void GlobeCamera::recompute() const {
58
58
 
59
59
  double hdgRad = glm::radians(params_.heading);
60
60
  double pitchRad = glm::radians(params_.pitch);
61
- double rollRad = glm::radians(params_.roll);
61
+ // Aviation-style sign: positive roll = right wing down, negative = left wing down.
62
+ double rollRad = -glm::radians(params_.roll);
62
63
 
63
64
  // 1. Heading: forward and right in the horizontal plane.
64
65
  glm::dvec3 fwdH = north * std::cos(hdgRad) + east * std::sin(hdgRad);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-cesium",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Experimental Cesium rendering for React Native via Nitro (iOS/Metal today; Android planned)",
5
5
  "main": "./lib/commonjs/index.js",
6
6
  "module": "./lib/module/index.js",