When spinning a 3D object in WebGL2 the object turns its back and comes back to the front

前端 未结 0 489
慢半拍i
慢半拍i 2020-12-12 05:49

this is my position function in the shader

uPosition.x = ((cos(fRotation)*a_Position.x)-(sin(fRotation)*a_Position.z));
uPosition.y = a_Position.y;
uPosition.         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题