摘要: 1 #include <cmath> // 用于数学运算 2 3 // 3D向量结构体(用于表示坐标、方向等) 4 struct vec3 { 5 float x, y, z; 6 7 vec3 operator-(const vec3& other) const { 8 return {x - o 阅读全文
posted @ 2025-04-07 17:40 禅元天道 阅读(20) 评论(0) 推荐(0)