Fix broken rotation

This commit is contained in:
Phillip Stephens 2016-03-02 20:57:21 -08:00
parent a260108a09
commit 57017298e6
1 changed files with 2 additions and 2 deletions

View File

@ -1701,7 +1701,7 @@ void CElementGen::RenderParticles()
{
float theta = particle.x30_lineWidthOrRota * M_PI / 180.f;
float sinT = sinf(theta) * size;
float cosT = sinf(theta) * size;
float cosT = cosf(theta) * size;
switch (m_shaderClass)
{
@ -1836,7 +1836,7 @@ void CElementGen::RenderParticles()
{
float theta = particle.x30_lineWidthOrRota * M_PI / 180.f;
float sinT = sinf(theta) * size;
float cosT = sinf(theta) * size;
float cosT = cosf(theta) * size;
for (int i=0 ; i<mbspVal ; ++i)
{