流浪のwolf

卷帝

导航

2024年5月1日

反射获取Exception的所有类

摘要: var test = "test"; $"{test} 喜喜".Dump(); // 反射 var types = Assembly .GetAssembly(typeof(Exception)) .GetTypes() .Cache(); types.Dump(); 阅读全文

posted @ 2024-05-01 18:19 流浪のwolf 阅读(1) 评论(0) 推荐(0) 编辑

LINQ 统计字符频率

摘要: var arr = new string[] {"test","zhulongxu","asdfdgd","yangmi","sdfytersy"}; var query = from w in arr from c in w group c by c into g select new { g.K 阅读全文

posted @ 2024-05-01 10:58 流浪のwolf 阅读(4) 评论(0) 推荐(0) 编辑

threejs 几何体的本质 顶点

摘要: 几何体的线框模式, 一个正方平面最少可以由4个顶点组成,两个三角形组成(公用了 2个顶点,使用了索引创建顶点属性) 。 // 导入 threejs import * as THREE from "three"; import { OrbitControls } from "three/example 阅读全文

posted @ 2024-05-01 09:43 流浪のwolf 阅读(5) 评论(0) 推荐(0) 编辑

threejs - js库 gui 的使用 调试开发3D效果

摘要: // 导入 threejs import * as THREE from "three"; import { OrbitControls } from "three/examples/jsm/controls/OrbitControls.js"; // 引入dat.gui.js的一个类GUI imp 阅读全文

posted @ 2024-05-01 09:13 流浪のwolf 阅读(92) 评论(0) 推荐(0) 编辑