Sha256: 3478001557005647a9388b03ef6e5dab6cb21061ed3bff9d0e68417c58201681
Contents?: true
Size: 681 Bytes
Versions: 3
Compression:
Stored size: 681 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 vec2 st;\n\ \n\ varying vec3 v_positionMC;\n\ varying vec3 v_positionEC;\n\ varying vec2 v_st;\n\ \n\ void main() \n\ {\n\ vec4 p = czm_computePosition();\n\ \n\ v_positionMC = position3DHigh + position3DLow; // position in model coordinates\n\ v_positionEC = (czm_modelViewRelativeToEye * p).xyz; // position in eye coordinates\n\ v_st = st;\n\ \n\ gl_Position = czm_modelViewProjectionRelativeToEye * p;\n\ }\n\ "; });
Version data entries
3 entries across 3 versions & 1 rubygems