Sha256: 7032491ca7d2d8433869e805aec68607d1532dcb6882a0f5b8661621daddecaf

Contents?: true

Size: 1.41 KB

Versions: 1

Compression:

Stored size: 1.41 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1372843474.167089:@value":{I"
class:EFI"BundledAsset;FI"logical_path;FI"Shaders/SensorVolume.js;TI"
pathname;FI"T/Users/bwrona/www/engines/cesium/app/assets/javascripts/Shaders/SensorVolume.js;TI"content_type;FI"application/javascript;FI"
mtime;FI"2013-07-03T11:16:47+02:00;FI"length;Fi^I"digest;F"%ca700b12bbb04b4432415829e1653fe3I"source;FI"^//This file is automatically rebuilt by the Cesium build process.
/*global define*/

define(function() {
"use strict";
return "uniform vec4 u_intersectionColor;\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\
#ifndef RENDER_FOR_PICK\n\
vec4 getIntersectionColor()\n\
{\n\
return u_intersectionColor;\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\
#endif\n\
";
});
;FI"required_assets_digest;F"%27c497c8b2c59aa7fb4a8ef89be52b58I"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cesium-0.18.0 test/dummy/tmp/cache/assets/D98/150/sprockets%2F861ca3c75437c4b352dae72ad3bdd6c8