摘要:
#include <GL/glew.h> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include < 阅读全文
posted @ 2025-09-24 17:07
华腾智算
阅读(14)
评论(0)
推荐(0)
摘要:
程序基于 Linux,用C++开发,使用 OpenGL 进行渲染,配合 GLFW 做窗口管理,GLM 处理数学运算。编译:g++ -o dam_3d dam_3d.cpp -lglfw -lGLEW -lGL -lm -ldl -pthread 阅读全文
posted @ 2025-09-24 16:52
华腾智算
阅读(6)
评论(0)
推荐(0)
摘要:
import * as THREE from 'three'; // 修复:引入轨道控制器和字体加载器(关键新增) import { OrbitControls } from 'three/addons/controls/OrbitControls.js'; import { FontLoader 阅读全文
posted @ 2025-09-24 16:43
华腾智算
阅读(12)
评论(0)
推荐(0)

浙公网安备 33010602011771号