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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
2ddcc3e3
Commit
2ddcc3e3
authored
10 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
pp
parent
029f4476
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
contrib/mobile/drawContext.cpp
+2
-1
2 additions, 1 deletion
contrib/mobile/drawContext.cpp
contrib/mobile/drawContext.h
+8
-8
8 additions, 8 deletions
contrib/mobile/drawContext.h
with
10 additions
and
9 deletions
contrib/mobile/drawContext.cpp
+
2
−
1
View file @
2ddcc3e3
...
@@ -708,7 +708,8 @@ int onelab_cb(std::string action)
...
@@ -708,7 +708,8 @@ int onelab_cb(std::string action)
if
(
onelabUtils
::
runGmshClient
(
action
,
true
))
if
(
onelabUtils
::
runGmshClient
(
action
,
true
))
redraw
=
1
;
redraw
=
1
;
if
(
redraw
==
0
&&
!
onelab
::
server
::
instance
()
->
getChanged
(
"GetDP"
))
continue
;
if
(
redraw
==
0
&&
!
onelab
::
server
::
instance
()
->
getChanged
(
"GetDP"
))
continue
;
std
::
vector
<
onelab
::
string
>
ps
;
std
::
vector
<
onelab
::
string
>
ps
;
onelab
::
server
::
instance
()
->
get
(
ps
,
"GetDP/1ModelName"
);
onelab
::
server
::
instance
()
->
get
(
ps
,
"GetDP/1ModelName"
);
...
...
This diff is collapsed.
Click to expand it.
contrib/mobile/drawContext.h
+
8
−
8
View file @
2ddcc3e3
...
@@ -19,14 +19,6 @@
...
@@ -19,14 +19,6 @@
#include
"movePosition.h"
#include
"movePosition.h"
void
drawArray
(
VertexArray
*
va
,
int
type
,
bool
useColorArray
=
false
,
bool
useNormalArray
=
false
);
int
onelab_cb
(
std
::
string
);
int
animation_next
();
int
animation_prev
();
int
number_of_animation
();
void
set_animation
(
int
step
);
class
drawContext
{
class
drawContext
{
private:
private:
float
_translate
[
3
],
_scale
[
3
];
// current translation and scale
float
_translate
[
3
],
_scale
[
3
];
// current translation and scale
...
@@ -63,4 +55,12 @@ public:
...
@@ -63,4 +55,12 @@ public:
void
drawScale
();
void
drawScale
();
};
};
void
drawArray
(
VertexArray
*
va
,
int
type
,
bool
useColorArray
=
false
,
bool
useNormalArray
=
false
);
int
onelab_cb
(
std
::
string
);
int
animation_next
();
int
animation_prev
();
int
number_of_animation
();
void
set_animation
(
int
step
);
#endif
#endif
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