Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

readme.md

线的旋转

1、旋转

TweenMax.to(line.rotation, 1, {x: 45*DEG_TO_RAD, 'yoyo': false})

2、改变顶点坐标

geometry.vertices[1].applyAxisAngle({x:1, y:0, z: 0},45*DEG_TO_RAD)