- //This file is automatically rebuilt by the Cesium build process.
- export default "vec4 czm_modelToWindowCoordinates(vec4 position)\n\
- {\n\
- vec4 q = czm_modelViewProjection * position;\n\
- q.xyz /= q.w;\n\
- q.xyz = (czm_viewportTransformation * vec4(q.xyz, 1.0)).xyz;\n\
- return q;\n\
- }\n\
- ";
|