Sha256: f9517ca2272896f50bace0de76035a430a2a4bcdd81144466c9dbecc46af3c47
Contents?: true
Size: 1.98 KB
Versions: 4
Compression:
Stored size: 1.98 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1362249883.097607:@value"�{I" class:EFI"BundledAsset;FI"logical_path;FI"Shaders/PolygonVS.js;TI" pathname;FI"J/Users/bogumil/www/cesium/app/assets/javascripts/Shaders/PolygonVS.js;TI"content_type;FI"application/javascript;FI" mtime;FI"2013-02-24T17:37:41+01:00;FI"length;Fi�I"digest;F"%c95811556f754887af8ca452868a8d18I"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\ \n\ uniform float u_morphTime;\n\ uniform float u_height; // in meters\n\ \n\ varying vec3 v_positionMC;\n\ varying vec3 v_positionEC;\n\ varying vec2 v_textureCoordinates;\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\ v_positionMC = position3DHigh + position3DLow; // position in model coordinates\n\ v_positionEC = (czm_modelViewRelativeToEye * p).xyz; // position in eye coordinates\n\ v_textureCoordinates = textureCoordinates;\n\ gl_Position = czm_modelViewProjectionRelativeToEye * p; // position in clip coordinates\n\ }\n\ "; }); ;FI"required_assets_digest;F"%e9c3b0be1096b3d12279527a4447b25eI" _version;F"%6776f581a4329e299531e1d52aa59832
Version data entries
4 entries across 4 versions & 1 rubygems