瀏覽代碼

"angles now more in line with panda's coordinate system"

Josh Wilson 18 年之前
父節點
當前提交
176e3f7129
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      panda/src/particlesystem/arcEmitter.cxx

+ 1 - 0
panda/src/particlesystem/arcEmitter.cxx

@@ -74,6 +74,7 @@ assign_initial_position(LPoint3f& pos) {
     theta = LERP(NORMALIZED_RAND(), _start_theta, _end_theta + 2.0f * MathNumbers::pi_f);
   }    
   
+  theta += (MathNumbers::pi_f / 2.0);
   this->_cos_theta = cosf(theta);
   this->_sin_theta = sinf(theta);