随笔分类 -  Canvas

摘要:// Approximates the brightness of a RGB value. float luminance( vec3 color ) { return dot(lum, color); } int size = width * height; std::vector<GLfloa 阅读全文
posted @ 2024-02-02 09:55 ParamousGIS 阅读(19) 评论(0) 推荐(0) 编辑
摘要:var coordinates_0 = coordinates[0]; var x = coordinates_0[0]; var y = coordinates_0[1]; var coordinates_1 = coordinates[1]; var x1 = coordinates_1[0]; var y1 = coordinates_1[1]; var ctx = state.contex 阅读全文
posted @ 2021-05-08 14:45 ParamousGIS 阅读(161) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示