|
듀얼코어 이상인 컴퓨터에서는 택스쳐가 정상적으로 입혀지는데요
싱글코어인 컴퓨터에서는 일부의 텍스쳐가 비정상적이네요..
그리고
if ( Planet[i].Distance * cos( Get_Radian(Planet[i].Ravol) ) == 0 )
{
mx = 1;
my = 1;
}
else
{
mx = Planet[i].Distance * cos( Get_Radian(Planet[i].Ravol) ) * m_dRate + 1.0f;
my = Planet[i].Distance * sin( Get_Radian(Planet[i].Ravol) ) * m_dRate + 1.0f;
}
glTranslatef( mx, my, 0.0f );
glRotatef( -Get_Rotation( i ), 0.0f, 0.0f, 1.0f );
gluSphere( Quadric, radius, 15, 15 );
이렇게 하면 원이 생성 되는데
mx = Planet[i].Distance * cos( Get_Radian(Planet[i].Ravol) ) * m_dRate + 1.0f;
my = Planet[i].Distance * sin( Get_Radian(Planet[i].Ravol) ) * m_dRate + 1.0f;
glTranslatef( mx, my, 0.0f );
glRotatef( -Get_Rotation( i ), 0.0f, 0.0f, 1.0f );
gluSphere( Quadric, radius, 15, 15 );
이렇게 하면 원이 생성되지 않는 이유는 뭔가요?
질문이 2개 네요. 부탁드립니다.
|