有没有办法像3D这样定义形状
var x = 0,y = 0,z = 0 ;
var heartShape =新的三个。形状();
heartShape.moveTo(x + 25,y + 25,z);
heartShape.bezierCurveTo(x + 25,y + 25,z,x + 20,y,z,x,y,z);
heartShape.bezierCurveTo(x-30,y,z,x-30,y + 35 ,, z,x-30,y + 35,z-30); ....
您可以通过本示例进行各种形状的创建。... http : //threejs.org/examples/#webgl_geometry_shapes
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句