Fixed line endings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6728 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
d64a436ef8
commit
d4eae38349
@ -81,8 +81,8 @@ SlipStream::SlipStream(Kart* kart) : MovingTexture(0, 0), m_kart(kart)
|
|||||||
m_debug_mesh = irr_driver->createQuadMesh(&material, true);
|
m_debug_mesh = irr_driver->createQuadMesh(&material, true);
|
||||||
scene::IMeshBuffer *buffer = m_debug_mesh->getMeshBuffer(0);
|
scene::IMeshBuffer *buffer = m_debug_mesh->getMeshBuffer(0);
|
||||||
assert(buffer->getVertexType()==video::EVT_STANDARD);
|
assert(buffer->getVertexType()==video::EVT_STANDARD);
|
||||||
irr::video::S3DVertex* vertices
|
irr::video::S3DVertex* vertices
|
||||||
= (video::S3DVertex*)buffer->getVertices();
|
= (video::S3DVertex*)buffer->getVertices();
|
||||||
video::SColor red(128, 255, 0, 0);
|
video::SColor red(128, 255, 0, 0);
|
||||||
for(unsigned int i=0; i<4; i++)
|
for(unsigned int i=0; i<4; i++)
|
||||||
{
|
{
|
||||||
@ -305,8 +305,8 @@ void SlipStream::setDebugColor(const video::SColor &color)
|
|||||||
{
|
{
|
||||||
if(!UserConfigParams::m_slipstream_debug) return;
|
if(!UserConfigParams::m_slipstream_debug) return;
|
||||||
scene::IMeshBuffer *buffer = m_debug_mesh->getMeshBuffer(0);
|
scene::IMeshBuffer *buffer = m_debug_mesh->getMeshBuffer(0);
|
||||||
irr::video::S3DVertex* vertices =
|
irr::video::S3DVertex* vertices =
|
||||||
(video::S3DVertex*)buffer->getVertices();
|
(video::S3DVertex*)buffer->getVertices();
|
||||||
for(unsigned int i=0; i<4; i++)
|
for(unsigned int i=0; i<4; i++)
|
||||||
vertices[i].Color=color;
|
vertices[i].Color=color;
|
||||||
} // setDebugColor
|
} // setDebugColor
|
||||||
|
Loading…
Reference in New Issue
Block a user