translateRelativeToEye.js 331 B

12345678
  1. //This file is automatically rebuilt by the Cesium build process.
  2. export default "vec4 czm_translateRelativeToEye(vec3 high, vec3 low)\n\
  3. {\n\
  4. vec3 highDifference = high - czm_encodedCameraPositionMCHigh;\n\
  5. vec3 lowDifference = low - czm_encodedCameraPositionMCLow;\n\
  6. return vec4(highDifference + lowDifference, 1.0);\n\
  7. }\n\
  8. ";