threejs例子中一段代码:
voxel.position.divideScalar( 50 ).floor().multiplyScalar( 50 ).addScalar( 25 );
这段代码中的两个50是如何确定的?原理是什么?如何计算的?
threejs例子链接:https://threejs.org/examples/#webgl_interactive_voxelpainter
threejs例子中一段代码:
voxel.position.divideScalar( 50 ).floor().multiplyScalar( 50 ).addScalar( 25 );
这段代码中的两个50是如何确定的?原理是什么?如何计算的?
threejs例子链接:https://threejs.org/examples/#webgl_interactive_voxelpainter
13 回答12.9k 阅读
7 回答2.1k 阅读
3 回答1.3k 阅读✓ 已解决
2 回答1.3k 阅读✓ 已解决
6 回答1.2k 阅读✓ 已解决
6 回答1.1k 阅读
2 回答1.3k 阅读✓ 已解决
我也不明白这个地方,一直搞不懂