Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
graphicsframework
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Oliver Behnke
graphicsframework
Commits
408fdd15
Commit
408fdd15
authored
17 years ago
by
Oliver Bock
Browse files
Options
Downloads
Patches
Plain Diff
Increased HUD font sizes
parent
d3e6e406
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Starsphere.cpp
+6
-6
6 additions, 6 deletions
Starsphere.cpp
with
6 additions
and
6 deletions
Starsphere.cpp
+
6
−
6
View file @
408fdd15
...
...
@@ -593,15 +593,15 @@ void Starsphere::render(const double timeOfDay)
if
(
isFeature
(
LOGO
)
||
isFeature
(
SEARCHINFO
))
{
static
const
GLfloat
xStartPosLeft
=
0.008
;
const
GLfloat
xStartPosRight
=
1
*
aspect
-
0.
16
;
const
GLfloat
xStartPosRight
=
1
*
aspect
-
0.
205
;
static
const
GLfloat
yStartPosTop
=
0.9675
;
static
const
GLfloat
yStartPosBottom
=
0.0
5
;
static
const
GLfloat
fontScaleLarge
=
0.02
0
;
static
const
GLfloat
fontScaleMedium
=
0.011
5
;
static
const
GLfloat
fontScaleSmall
=
0.01
;
static
const
GLfloat
yStartPosBottom
=
0.0
7
;
static
const
GLfloat
fontScaleLarge
=
0.02
25
;
static
const
GLfloat
fontScaleMedium
=
0.01
3
1
;
static
const
GLfloat
fontScaleSmall
=
0.01
31
;
// static const GLfloat yOffset = (font->Ascender() + font->Descender());
static
const
GLfloat
yOffsetLarge
=
0.015
;
static
const
GLfloat
yOffsetMedium
=
0.01
;
static
const
GLfloat
yOffsetMedium
=
0.01
5
;
// disable depth testing since we're in 2D mode
glDisable
(
GL_DEPTH_TEST
);
...
...
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