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

Commit 527ac00

Browse files
committed
added some notes about camera/ortho settings
1 parent 11f6235 commit 527ac00

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/codeanticode/planetarium/Dome.java

+5
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,11 @@ private void endFaceDraw() {
404404

405405
private void renderDome() {
406406
renderBorder();
407+
408+
// This setting might be better for 2.1.2+:
409+
// camera(0, 0, resolution * 0.5f, 0, 0, 0, 0, 1, 0);
410+
// ortho(-width/2, width/2, -height/2, height/2);
411+
407412
camera();
408413
ortho(domeLeft, domeRight, domeBottom, domeTop);
409414
resetMatrix();

0 commit comments

Comments
 (0)