iohannes long
搜索文章
机器人
python
c++
金融
linux
前端
中间件
java
求解
登录
机器人
python
c++
金融
linux
前端
中间件
java
求解
登录
three.js自动放置模型位置
function autoLocalOneModel(object, camera, controls) { const box = new THREE.Box3().setFromObject(object); const boxSize = box.getSize(new THREE.V
作者:iohannes
发布时间:2025-03-18
分类:
前端
threejs聚焦物体
let lx = model.position.x; let ly = model.position.y; let lz = model.position.z; let size = new THREE.Vector3(); let boundingBox = new THREE.Box3().s
作者:iohannes
发布时间:2025-03-18
分类:
前端
threejs动画入口
AnimationMixer.update 推进混合器时间并更新动画 通常在渲染循环中完成, 传入按照混合器的时间比例(timeScale)缩放过的clock.getDelta let mesh; // 新建一&#
作者:iohannes
发布时间:2025-03-18
分类:
前端
ts中var、let、const的区别
var var 是定义一个变量, 此变量没有作用域(函数/循环体)限制, 只要定义过一次就可以到处用, 并且变量的值可以改变 非必须请不要用var, let/const 会有&
作者:iohannes
发布时间:2025-03-18
分类:
前端
tree.js 常见操作gltf
播放动画 js scene = new THREE.Scene(); new RGBELoader().setPath( 'textures/equirectangular/' ).load( 'royal_esplanade_1k.hdr', function ( texture ) { te
作者:iohannes
发布时间:2025-03-18
分类:
前端
vscode调试vite项目
launch.json { // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more informat
作者:iohannes
发布时间:2025-03-18
分类:
前端
vue 中reactive 相关简介
Proxy const obj = new Proxy(target, handler); Vue3 将使用 ES6的Proxy 作为其观察者机制,取代之前使用的Object.defineProperty target: 被代理对象。 handler: 是一个对象,声明了代理target的一些
作者:iohannes
发布时间:2025-03-18
分类:
前端
vue setup 语法糖常见用法
获取this import { getCurrentInstance } from 'vue' const that = getCurrentInstance() 获取路由 // 跳路由 import router from "@/router/index" const routerpath =
作者:iohannes
发布时间:2025-03-18
分类:
前端
web socket
function createWorker() { const script_content = `class CircularQueue { constructor(size = 1) { this.size = size; this.data = new Array(size).
作者:iohannes
发布时间:2025-03-18
分类:
前端
vue中ref和reactive的区别
区别和联系 reactive() only takes objects, NOT JS primitives (String, Boolean, Number, BigInt, Symbol, null, undefined) ref() is calling reactive() behind t
作者:iohannes
发布时间:2025-03-18
分类:
前端
共 34 篇文章
1
2
3
4
页