mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 23:24:41 +00:00
red to blue so you can easier tell which way the triangle is pointing at a glance
This commit is contained in:
parent
fd56496e61
commit
aacbd5d2bc
1 changed files with 3 additions and 1 deletions
|
|
@ -300,7 +300,9 @@ void Marker::initGFXResources()
|
||||||
verts[1].point = wedgePoints[1] * 1.25f;
|
verts[1].point = wedgePoints[1] * 1.25f;
|
||||||
verts[2].point = wedgePoints[2] * 1.25f;
|
verts[2].point = wedgePoints[2] * 1.25f;
|
||||||
verts[3].point = wedgePoints[3] * 1.25f;
|
verts[3].point = wedgePoints[3] * 1.25f;
|
||||||
verts[0].color = verts[1].color = verts[2].color = verts[3].color = GFXVertexColor(ColorI(255, 0, 0, 255));
|
verts[1].color = GFXVertexColor(ColorI(255, 0, 0, 255));
|
||||||
|
verts[0].color = verts[2].color = verts[3].color = GFXVertexColor(ColorI(0, 0, 255, 255));
|
||||||
|
|
||||||
smVertexBuffer.unlock();
|
smVertexBuffer.unlock();
|
||||||
|
|
||||||
smPrimitiveBuffer.set(GFX, 24, 12, GFXBufferTypeStatic);
|
smPrimitiveBuffer.set(GFX, 24, 12, GFXBufferTypeStatic);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue