Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityGML
CityGMLViewer
Commits
d8959f48
Commit
d8959f48
authored
1 year ago
by
Matthias Betz
Browse files
Options
Download
Email Patches
Plain Diff
rotate camera to point to north
parent
ee770fdd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/hft/stuttgart/citygml/viewer/CityGMLViewer.java
+1
-1
...n/java/de/hft/stuttgart/citygml/viewer/CityGMLViewer.java
with
1 addition
and
1 deletion
+1
-1
src/main/java/de/hft/stuttgart/citygml/viewer/CityGMLViewer.java
+
1
-
1
View file @
d8959f48
...
...
@@ -403,7 +403,7 @@ public class CityGMLViewer {
double
translateZ
=
-
d
;
camera
.
setDistance
((
float
)
translateZ
);
cameraViewDistance
=
(
float
)
longestSide
*
20
f
;
camera
.
rotate
(
0
,
300
);
camera
.
rotate
(
Math
.
PI
/
2
*
50
0
,
300
);
clearColor
=
MemoryUtil
.
memAllocFloat
(
4
);
clearColor
.
put
(
0
,
0.9411765f
).
put
(
1
,
1
f
).
put
(
2
,
1
f
).
put
(
3
,
1
f
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment