Sha256: 849afc036bcbe9ae27cf6809bf9b41ee222d9a54d9a9357fa1ee9b5890b81f39

Contents?: true

Size: 1.52 KB

Versions: 2

Compression:

Stored size: 1.52 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1380709798.362373:@value"�{I"
class:ETI"BundledAsset;FI"logical_path;TI"Shaders/SensorVolume.js;TI"
pathname;TI"U/Users/bogumil/www/engines/cesium/app/assets/javascripts/Shaders/SensorVolume.js;FI"content_type;TI"application/javascript;TI"
mtime;TI"2013-10-02T12:16:28+02:00;TI"length;Ti�I"digest;TI"%266dc6017230f5fd29b165828a431ee3;FI"source;TI"�    //This file is automatically rebuilt by the Cesium build process.
    /*global define*/

    define(function() {
    "use strict";
    return "uniform vec4 u_intersectionColor;\n\
uniform float u_intersectionWidth;\n\
bool inSensorShadow(vec3 coneVertexWC, czm_ellipsoid ellipsoidEC, vec3 pointWC)\n\
{\n\
vec3 D = ellipsoidEC.inverseRadii;\n\
vec3 q = D * coneVertexWC;\n\
float qMagnitudeSquared = dot(q, q);\n\
float test = qMagnitudeSquared - 1.0;\n\
vec3 temp = D * pointWC - q;\n\
float d = dot(temp, q);\n\
return (d < -test) && (d / length(temp) < -sqrt(test));\n\
}\n\
vec4 getIntersectionColor()\n\
{\n\
return u_intersectionColor;\n\
}\n\
float getIntersectionWidth()\n\
{\n\
return u_intersectionWidth;\n\
}\n\
vec2 sensor2dTextureCoordinates(float sensorRadius, vec3 pointMC)\n\
{\n\
float t = pointMC.z / sensorRadius;\n\
float s = 1.0 + (atan(pointMC.y, pointMC.x) / czm_twoPi);\n\
s = s - floor(s);\n\
return vec2(s, t);\n\
}\n\
";
});
;TI"required_assets_digest;TI"%56d7d4d3b2133c492ae9015111557e79;FI"
_version;TI"%6776f581a4329e299531e1d52aa59832;F

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cesium-0.21.1 test/dummy/tmp/cache/assets/C90/760/sprockets%2F01998bca7e3860b668f2999f405411d4
cesium-0.21 test/dummy/tmp/cache/assets/C90/760/sprockets%2F01998bca7e3860b668f2999f405411d4