Merge remote-tracking branch 'origin/master' into renderer_refactoring
This commit is contained in:
commit
214ea6801b
@ -36,7 +36,7 @@ private:
|
||||
// ------------------------------------------------------------------------
|
||||
virtual unsigned int getScalingFactorTwo() const OVERRIDE { return 120; }
|
||||
// ------------------------------------------------------------------------
|
||||
virtual bool isBold() const { return true; }
|
||||
virtual bool isBold() const OVERRIDE { return true; }
|
||||
// ------------------------------------------------------------------------
|
||||
virtual int shapeOutline(FT_Outline* outline) const OVERRIDE;
|
||||
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include <cassert>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <string>
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
|
@ -693,7 +693,7 @@ void World::resetAllKarts()
|
||||
if ((*i)->isGhostKart()) continue;
|
||||
Vec3 xyz = (*i)->getXYZ();
|
||||
//start projection from top of kart
|
||||
Vec3 up_offset(0, 0.5f * ((*i)->getKartHeight()), 0);
|
||||
Vec3 up_offset = (*i)->getNormal() * (0.5f * ((*i)->getKartHeight()));
|
||||
(*i)->setXYZ(xyz+up_offset);
|
||||
|
||||
bool kart_over_ground = m_track->findGround(*i);
|
||||
|
Loading…
Reference in New Issue
Block a user