Sha256: 0e7d308f78b0952e0e5bb58c8f6af9b2df37cc70f087cadc152b4d748bdc91fa

Contents?: true

Size: 1.7 KB

Versions: 1

Compression:

Stored size: 1.7 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1372843473.833336:@value"h{I"
class:EFI"BundledAsset;FI"logical_path;FI"Shaders/PolygonVS.js;TI"
pathname;FI"Q/Users/bwrona/www/engines/cesium/app/assets/javascripts/Shaders/PolygonVS.js;TI"content_type;FI"application/javascript;FI"
mtime;FI"2013-07-03T11:16:47+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

1 entries across 1 versions & 1 rubygems

Version Path
cesium-0.18.0 test/dummy/tmp/cache/assets/E60/E40/sprockets%2F2c145cef98d73fbe5beefa74c8bb7a0a