yzt
2023-05-26 de4278af2fd46705a40bac58ec01122db6b7f3d7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//This file is automatically rebuilt by the Cesium build process.
export default "void geometryStage(out ProcessedAttributes attributes)\n\
{\n\
  attributes.positionMC = v_positionMC;\n\
  attributes.positionEC = v_positionEC;\n\
\n\
  #ifdef COMPUTE_POSITION_WC\n\
  attributes.positionWC = v_positionWC;\n\
  #endif\n\
\n\
  #ifdef HAS_NORMALS\n\
  // renormalize after interpolation\n\
  attributes.normalEC = normalize(v_normalEC);\n\
  #endif\n\
\n\
  #ifdef HAS_TANGENTS\n\
  attributes.tangentEC = normalize(v_tangentEC);\n\
  #endif\n\
\n\
  #ifdef HAS_BITANGENTS\n\
  attributes.bitangentEC = normalize(v_bitangentEC);\n\
  #endif\n\
\n\
  // Everything else is dynamically generated in GeometryPipelineStage\n\
  setDynamicVaryings(attributes);\n\
}\n\
";