Sha256: e6f0a216b4e4240750c90a09659bbccf4af7cef0fb45dfbc8852ebe228a4b115
Contents?: true
Size: 1.71 KB
Versions: 3
Compression:
Stored size: 1.71 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1369611016.590998:@value"i{I" class:EFI"BundledAsset;FI"logical_path;FI"Shaders/PolygonVS.js;TI" pathname;FI"R/Users/bogumil/www/engines/cesium/app/assets/javascripts/Shaders/PolygonVS.js;TI"content_type;FI"application/javascript;FI" mtime;FI"2013-05-27T01:23:49+02:00;FI"length;Fi�I"digest;F"%b4bb4956d9147722ea975a96384cebdaI"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\ attribute vec2 textureCoordinates;\n\ uniform float u_height;\n\ varying vec3 v_positionMC;\n\ varying vec3 v_positionEC;\n\ varying vec2 v_textureCoordinates;\n\ void main()\n\ {\n\ vec4 p;\n\ if (czm_morphTime == 1.0)\n\ {\n\ p = vec4(czm_translateRelativeToEye(position3DHigh, position3DLow), 1.0);\n\ }\n\ else if (czm_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\ czm_morphTime);\n\ }\n\ v_positionMC = position3DHigh + position3DLow;\n\ v_positionEC = (czm_modelViewRelativeToEye * p).xyz;\n\ v_textureCoordinates = textureCoordinates;\n\ gl_Position = czm_modelViewProjectionRelativeToEye * p;\n\ }\n\ "; }); ;FI"required_assets_digest;F"%01f1766a8720b24715df7e1a81d07b8eI" _version;F"%6776f581a4329e299531e1d52aa59832
Version data entries
3 entries across 3 versions & 1 rubygems