modelToWindowCoordinates.js 289 B

123456789
  1. //This file is automatically rebuilt by the Cesium build process.
  2. export default "vec4 czm_modelToWindowCoordinates(vec4 position)\n\
  3. {\n\
  4. vec4 q = czm_modelViewProjection * position;\n\
  5. q.xyz /= q.w;\n\
  6. q.xyz = (czm_viewportTransformation * vec4(q.xyz, 1.0)).xyz;\n\
  7. return q;\n\
  8. }\n\
  9. ";