Sha256: eda361aa98d72fbfc5ccec07cab41b4625c619a303379f1cb14e00e9ebdb56ea
Contents?: true
Size: 440 Bytes
Versions: 4
Compression:
Stored size: 440 Bytes
Contents
//This file is automatically rebuilt by the Cesium build process. /*global define*/ define(function() { "use strict"; return "vec3 czm_RGBToXYZ(vec3 rgb)\n\ {\n\ const mat3 RGB2XYZ = mat3(0.4124, 0.2126, 0.0193,\n\ 0.3576, 0.7152, 0.1192,\n\ 0.1805, 0.0722, 0.9505);\n\ vec3 xyz = RGB2XYZ * rgb;\n\ vec3 Yxy;\n\ Yxy.r = xyz.g;\n\ float temp = dot(vec3(1.0), xyz);\n\ Yxy.gb = xyz.rg / temp;\n\ return Yxy;\n\ }\n\ "; });
Version data entries
4 entries across 4 versions & 1 rubygems