Fixed compiler warnings.
This commit is contained in:
parent
7ac0c14869
commit
29c162bdf8
@ -46,8 +46,6 @@ CannonAnimation::CannonAnimation(AbstractKart *kart, Ipo *ipo)
|
||||
const float dt = 0.1f;
|
||||
Vec3 xyz1;
|
||||
m_curve->update(dt, &xyz1);
|
||||
core::vector3df rot1 = (xyz1-m_previous_orig_xyz).toIrrVector()
|
||||
.getHorizontalAngle();
|
||||
core::vector3df rot = (m_previous_orig_xyz-xyz1).toIrrVector()
|
||||
.getHorizontalAngle();
|
||||
btQuaternion q(Vec3(0,1,0),rot.Y*DEGREE_TO_RAD);
|
||||
|
@ -382,8 +382,7 @@ void btKart::updateVehicle( btScalar step )
|
||||
m_visual_wheels_touch_ground = true;
|
||||
for (int i=0;i<m_wheelInfo.size();i++)
|
||||
{
|
||||
btScalar depth;
|
||||
depth = rayCast( i);
|
||||
rayCast( i);
|
||||
if(m_wheelInfo[i].m_raycastInfo.m_isInContact)
|
||||
m_num_wheels_on_ground++;
|
||||
}
|
||||
|
@ -734,7 +734,6 @@ void RaceGUI::drawSpeedEnergyRank(const AbstractKart* kart,
|
||||
float speed_ratio = speed/KILOMETERS_PER_HOUR/110.0f;
|
||||
if(speed_ratio>1) speed_ratio = 1;
|
||||
|
||||
video::ITexture *bar_texture = m_speed_bar_icon->getTexture();
|
||||
video::S3DVertex vertices[5];
|
||||
unsigned int count;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user