diff options
author | prep <none@none> | 2012-03-27 15:33:04 -0400 |
---|---|---|
committer | prep <none@none> | 2012-03-27 15:33:04 -0400 |
commit | b73f0f103d433432a661fe416bd4d5ab91991cfc (patch) | |
tree | ac6cb4c62ced58bb9b5fe0eb7aca848065f594ee /indra/llrender/llrendernavprim.cpp | |
parent | c262425bdd93daa6de603492555fbbb627f484d2 (diff) |
Navmesh rendering api update to ll color structs
Diffstat (limited to 'indra/llrender/llrendernavprim.cpp')
-rw-r--r-- | indra/llrender/llrendernavprim.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llrender/llrendernavprim.cpp b/indra/llrender/llrendernavprim.cpp index fb762b0870..d6da722e0c 100644 --- a/indra/llrender/llrendernavprim.cpp +++ b/indra/llrender/llrendernavprim.cpp @@ -35,7 +35,7 @@ //=============================================================================
LLRenderNavPrim gRenderNav;
//=============================================================================
-void LLRenderNavPrim::renderSegment( const LLVector3& start, const LLVector3& end, int color ) const
+void LLRenderNavPrim::renderLLSegment( const LLVector3& start, const LLVector3& end, const LLColor4U& color ) const
{
LLColor4 colorA( color );
gGL.color3fv( colorA.mV );
@@ -81,7 +81,7 @@ void LLRenderNavPrim::renderNavMeshVB( LLVertexBuffer* pVBO, int vertCnt ) pVBO->drawArrays( LLRender::TRIANGLES, 0, vertCnt );
}
//=============================================================================
-void LLRenderNavPrim::renderStar( const LLVector3& center, const float scale, int color ) const
+void LLRenderNavPrim::renderStar( const LLVector3& center, const float scale, const LLColor4U& color ) const
{
for (int k=0; k<3; k++)
{
@@ -90,7 +90,7 @@ void LLRenderNavPrim::renderStar( const LLVector3& center, const float scale, in star[k] = 0.5f;
pt1 = center + star;
pt2 = center - star;
- renderSegment( pt1, pt2, color );
+ renderLLSegment( pt1, pt2, color );
}
}
//=============================================================================
|