Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
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
Show more breadcrumbs
gmsh
gmsh
Commits
aeb76158
Commit
aeb76158
authored
22 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
clip=10 should be enough
parent
28f5d2af
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Graphics/Draw.cpp
+2
-2
2 additions, 2 deletions
Graphics/Draw.cpp
with
2 additions
and
2 deletions
Graphics/Draw.cpp
+
2
−
2
View file @
aeb76158
// $Id: Draw.cpp,v 1.
39
2003-03-24 1
8:35:41
geuzaine Exp $
// $Id: Draw.cpp,v 1.
40
2003-03-24 1
9:47:27
geuzaine Exp $
//
// Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
//
...
...
@@ -142,7 +142,7 @@ void Orthogonalize(int x, int y)
if
(
CTX
.
ortho
)
{
// Warning: for large s (i.e. big zooms) the PolygonOffset will
// degrade...
double
clip
=
CTX
.
s
[
0
]
*
3
0
;
double
clip
=
CTX
.
s
[
0
]
*
1
0
;
glOrtho
(
CTX
.
vxmin
,
CTX
.
vxmax
,
CTX
.
vymin
,
CTX
.
vymax
,
0
,
clip
*
CTX
.
lc
);
glMatrixMode
(
GL_MODELVIEW
);
glLoadIdentity
();
...
...
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