Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
XDG Integration
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
JennaHuntsman
XDG Integration
Commits
89d20b75
Commit
89d20b75
authored
13 years ago
by
prep
Browse files
Options
Downloads
Patches
Plain Diff
Removed dead code
parent
a36f71af
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/llrender/llrendernavprim.cpp
+4
-4
4 additions, 4 deletions
indra/llrender/llrendernavprim.cpp
indra/llrender/llrendernavprim.h
+3
-3
3 additions, 3 deletions
indra/llrender/llrendernavprim.h
with
7 additions
and
7 deletions
indra/llrender/llrendernavprim.cpp
+
4
−
4
View file @
89d20b75
...
...
@@ -35,7 +35,7 @@
//=============================================================================
LLRenderNavPrim
gRenderNav
;
//=============================================================================
void
LLRenderNavPrim
::
renderSegment
(
const
LLVector3
&
start
,
const
LLVector3
&
end
,
int
color
,
bool
overlayMode
)
const
void
LLRenderNavPrim
::
renderSegment
(
const
LLVector3
&
start
,
const
LLVector3
&
end
,
int
color
)
const
{
LLColor4
colorA
(
color
);
gGL
.
color3fv
(
colorA
.
mV
);
...
...
@@ -48,7 +48,7 @@ void LLRenderNavPrim::renderSegment( const LLVector3& start, const LLVector3& en
gGL
.
end
();
}
//=============================================================================
void
LLRenderNavPrim
::
renderTri
(
const
LLVector3
&
a
,
const
LLVector3
&
b
,
const
LLVector3
&
c
,
int
color
,
bool
overlayMode
)
const
void
LLRenderNavPrim
::
renderTri
(
const
LLVector3
&
a
,
const
LLVector3
&
b
,
const
LLVector3
&
c
,
int
color
)
const
{
LLColor4
colorA
(
color
);
colorA
*=
1.25
f
;
...
...
@@ -62,7 +62,7 @@ void LLRenderNavPrim::renderTri( const LLVector3& a, const LLVector3& b, const L
gGL
.
end
();
}
//=============================================================================
void
LLRenderNavPrim
::
renderLLTri
(
const
LLVector3
&
a
,
const
LLVector3
&
b
,
const
LLVector3
&
c
,
const
LLColor4U
&
color
,
bool
overlayMode
)
const
void
LLRenderNavPrim
::
renderLLTri
(
const
LLVector3
&
a
,
const
LLVector3
&
b
,
const
LLVector3
&
c
,
const
LLColor4U
&
color
)
const
{
LLColor4
cV
(
color
);
gGL
.
color4fv
(
cV
.
mV
);
...
...
@@ -90,7 +90,7 @@ void LLRenderNavPrim::renderStar( const LLVector3& center, const float scale, in
star
[
k
]
=
0.5
f
;
pt1
=
center
+
star
;
pt2
=
center
-
star
;
renderSegment
(
pt1
,
pt2
,
color
,
false
);
renderSegment
(
pt1
,
pt2
,
color
);
}
}
//=============================================================================
This diff is collapsed.
Click to expand it.
indra/llrender/llrendernavprim.h
+
3
−
3
View file @
89d20b75
...
...
@@ -40,11 +40,11 @@ class LLRenderNavPrim
{
public:
//Draw a line
void
renderSegment
(
const
LLVector3
&
start
,
const
LLVector3
&
end
,
int
color
,
bool
overlayMode
)
const
;
void
renderSegment
(
const
LLVector3
&
start
,
const
LLVector3
&
end
,
int
color
)
const
;
//Draw simple tri
void
renderTri
(
const
LLVector3
&
a
,
const
LLVector3
&
b
,
const
LLVector3
&
c
,
int
color
,
bool
overlayMode
)
const
;
void
renderTri
(
const
LLVector3
&
a
,
const
LLVector3
&
b
,
const
LLVector3
&
c
,
int
color
)
const
;
//Draw simple tri
void
renderLLTri
(
const
LLVector3
&
a
,
const
LLVector3
&
b
,
const
LLVector3
&
c
,
const
LLColor4U
&
color
,
bool
overlayMode
)
const
;
void
renderLLTri
(
const
LLVector3
&
a
,
const
LLVector3
&
b
,
const
LLVector3
&
c
,
const
LLColor4U
&
color
)
const
;
//Draw the contents of vertex buffer
void
renderNavMeshVB
(
LLVertexBuffer
*
pVBO
,
int
vertCnt
);
//Draw a star
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment