Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CGoGN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
CGoGN
CGoGN
Commits
bc9638f8
Commit
bc9638f8
authored
May 13, 2011
by
Kenneth Vanhoey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add method getWidth in qtgl.h
parent
c9445446
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
include/Utils/qtgl.h
include/Utils/qtgl.h
+8
-1
No files found.
include/Utils/qtgl.h
View file @
bc9638f8
...
...
@@ -135,6 +135,7 @@ public:
bool
Alt
()
{
return
m_state_modifier
&
Qt
::
AltModifier
;
}
int
getHeight
()
const
{
return
H
;
}
int
getWidth
()
const
{
return
W
;
}
/**
* set the focale distance (for a screen width of 2), default value is 1
...
...
@@ -144,7 +145,13 @@ public:
/**
* get the focale distance
*/
float
getFocal
()
{
return
foc
;
}
float
getFocal
()
const
{
return
foc
;
}
/**
* get current state
*/
int
getStateModifier
()
const
{
return
m_state_modifier
;
}
int
getCurrentButton
()
const
{
return
m_current_button
;
}
static
float
getFarPlane
()
{
return
FAR_PLANE
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment