Sha256: f53abda3126c41cca488bf5a4c7a02582f0b9f202bd9c4f1b8c437ca165e8acc
Contents?: true
Size: 715 Bytes
Versions: 3
Compression:
Stored size: 715 Bytes
Contents
//This file is automatically rebuilt by the Cesium build process. /*global define*/ define(function() { "use strict"; return "attribute vec3 position3DHigh;\n\ attribute vec3 position3DLow;\n\ attribute vec3 normal;\n\ attribute vec4 color;\n\ \n\ varying vec3 v_positionEC;\n\ varying vec3 v_normalEC;\n\ varying vec4 v_color;\n\ \n\ void main() \n\ {\n\ vec4 p = czm_computePosition();\n\ \n\ v_positionEC = (czm_modelViewRelativeToEye * p).xyz; // position in eye coordinates\n\ v_normalEC = czm_normal * normal; // normal in eye coordinates\n\ v_color = color;\n\ \n\ gl_Position = czm_modelViewProjectionRelativeToEye * p;\n\ }\n\ "; });
Version data entries
3 entries across 3 versions & 1 rubygems