three.js: rotate tetrahedron on correct axis

前端 未结 2 619
臣服心动
臣服心动 2021-01-22 06:03

I have to display a rotating tetrahedron in an animated HTML5 graphic, using three.js.

When i create the object, it\'s upside down, but it should be on the ground with o

2条回答
  •  星月不相逢
    2021-01-22 06:53

    Download three.js from [http://www.html5canvastutorials.com/libraries/Three.js] library and put in the below HTML code. 
    You will get good output.
    
    
    
    
        I like shapes
        
         
    
    
    
        
    
        
    
    
    

提交回复
热议问题