columbusViewMorph.js 377 B

1234567891011121314
  1. //This file is automatically rebuilt by the Cesium build process.
  2. export default "/**\n\
  3. * DOC_TBA\n\
  4. *\n\
  5. * @name czm_columbusViewMorph\n\
  6. * @glslFunction\n\
  7. */\n\
  8. vec4 czm_columbusViewMorph(vec4 position2D, vec4 position3D, float time)\n\
  9. {\n\
  10. // Just linear for now.\n\
  11. vec3 p = mix(position2D.xyz, position3D.xyz, time);\n\
  12. return vec4(p, 1.0);\n\
  13. }\n\
  14. ";