摘要:
```c++ std::function f = "&" int{ c; //call function //print function address static_cast(&f) return c 阅读全文
摘要:
``` //指定波长转换成RGBA颜色 std::vector lambdaToColor(double lambda,double gamma = 0.8,double intensityMax = 255.0) { double r, g, b, alpha; if (lambda >= 380.0 && lambda = 440.0 && lambda = 490.0 && ... 阅读全文