Sha256: 2bbff2f318bf987c2aa942936b039b963226fc2e81f822d023a90099a3b7610b
Contents?: true
Size: 1.58 KB
Versions: 3
Compression:
Stored size: 1.58 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1369608515.210876:@value"�{I" class:EFI"BundledAsset;FI"logical_path;FI"Shaders/PolygonVSPick.js;TI" pathname;FI"V/Users/bogumil/www/engines/cesium/app/assets/javascripts/Shaders/PolygonVSPick.js;TI"content_type;FI"application/javascript;FI" mtime;FI"2013-04-18T00:12:58+02:00;FI"length;Fi I"digest;F"%5ecc0e13df8c8aee327046c4c56b3f61I"source;FI" //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 position2DHigh;\n\ attribute vec2 position2DLow;\n\ \n\ uniform float u_morphTime;\n\ uniform float u_height; // in meters\n\ \n\ void main() \n\ {\n\ vec4 p;\n\ \n\ if (u_morphTime == 1.0)\n\ {\n\ p = vec4(czm_translateRelativeToEye(position3DHigh, position3DLow), 1.0);\n\ }\n\ else if (u_morphTime == 0.0)\n\ {\n\ p = vec4(czm_translateRelativeToEye(vec3(u_height, position2DHigh), vec3(u_height, position2DLow)), 1.0);\n\ }\n\ else\n\ {\n\ p = czm_columbusViewMorph(\n\ czm_translateRelativeToEye(vec3(u_height, position2DHigh), vec3(u_height, position2DLow)),\n\ czm_translateRelativeToEye(position3DHigh, position3DLow), \n\ u_morphTime);\n\ }\n\ \n\ gl_Position = czm_modelViewProjectionRelativeToEye * p;\n\ }\n\ "; }); ;FI"required_assets_digest;F"%14b82df4325593bb0abfd91284f27e93I" _version;F"%6776f581a4329e299531e1d52aa59832
Version data entries
3 entries across 3 versions & 1 rubygems