Sha256: a3903e1b41317996cec1e5413248413efabb36609e0acd49d1d78ec0a704d8af
Contents?: true
Size: 1.58 KB
Versions: 2
Compression:
Stored size: 1.58 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1380709797.149345:@value"�{I" class:ETI"ProcessedAsset;FI"logical_path;TI"%Shaders/Builtin/Functions/hue.js;FI" pathname;TI"^/Users/bogumil/www/engines/cesium/app/assets/javascripts/Shaders/Builtin/Functions/hue.js;FI"content_type;TI"application/javascript;TI" mtime;TI"2013-10-02T12:16:28+02:00;TI"length;Ti�I"digest;TI"%294bb90975535ed9db6f0aa14a504f81;FI"source;TI"� //This file is automatically rebuilt by the Cesium build process. /*global define*/ define(function() { "use strict"; return "vec3 czm_hue(vec3 rgb, float adjustment)\n\ {\n\ const mat3 toYIQ = mat3(0.299, 0.587, 0.114,\n\ 0.595716, -0.274453, -0.321263,\n\ 0.211456, -0.522591, 0.311135);\n\ const mat3 toRGB = mat3(1.0, 0.9563, 0.6210,\n\ 1.0, -0.2721, -0.6474,\n\ 1.0, -1.107, 1.7046);\n\ vec3 yiq = toYIQ * rgb;\n\ float hue = atan(yiq.z, yiq.y) + adjustment;\n\ float chroma = sqrt(yiq.z * yiq.z + yiq.y * yiq.y);\n\ vec3 color = vec3(yiq.x, chroma * cos(hue), chroma * sin(hue));\n\ return toRGB * color;\n\ }\n\ "; }); ;TI"dependency_digest;TI"%6a6d7918bfb4271c97068fab2c93ec35;FI"required_paths;T[I"^/Users/bogumil/www/engines/cesium/app/assets/javascripts/Shaders/Builtin/Functions/hue.js;FI"dependency_paths;T[{I" path;TI"^/Users/bogumil/www/engines/cesium/app/assets/javascripts/Shaders/Builtin/Functions/hue.js;FI" mtime;TI"2013-10-02T12:16:28+02:00;TI"digest;TI"%1bddc5a128122511ba4c58ca2f05a16f;FI" _version;TI"%6776f581a4329e299531e1d52aa59832;F
Version data entries
2 entries across 2 versions & 1 rubygems