Skip to content
This repository was archived by the owner on Jun 24, 2024. It is now read-only.

Commit 19892f3

Browse files
committed
adapting to the fixes in the ortho() function
1 parent 393a9b4 commit 19892f3

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
/bin
22
/bin
33
/distribution
4+
/bin
5+
/bin
6+
/bin
7+
/bin
8+
/bin

resources/build.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,12 @@ source.repository=https://github.com/codeanticode/planetarium
149149
# This is used to compare different versions of the same library, and check if
150150
# an update is available.
151151

152-
library.version=3
152+
library.version=4
153153

154154

155155
# The version as the user will see it.
156156

157-
library.prettyVersion=0.3
157+
library.prettyVersion=0.4
158158

159159

160160
library.copyright=(c) 2013-2014

src/codeanticode/planetarium/Dome.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,8 @@ private void endFaceDraw() {
383383

384384
private void renderDome() {
385385
renderBorder();
386-
ortho();
386+
camera(0, 0, resolution * 0.5f + domeDZ, 0, 0, 0, 0, 1, 0);
387+
ortho(-width/2, width/2, -height/2, height/2);
387388
resetMatrix();
388389
translate(domeDX, domeDY, domeDZ);
389390
scale(domeScale);

0 commit comments

Comments
 (0)