Skip to content

Commit 3ae7178

Browse files
committed
made galaxies.txt easier to understand
1 parent c91d67e commit 3ae7178

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
*.class
22

3-
# Mobile Tools for Java (J2ME)
4-
.mtj.tmp/
5-
63
build/
74

85
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml

galaxies.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Description of galaxies. Each line is a different galaxy.
2-
# First 3 elements should be 3d vectors seperated by commas
3-
# position;velocity;normal;width;starcount
2+
# First 3 elements should be 3d vectors separated by commas
3+
# position ; velocity ; normal ; width ; starcount
44

55
# 3 galaxy pass example
6-
0,0,0;0,0,0;0,0,1;1;500
7-
0,5,-30;0,0,0.5;0,1,0;1;500
8-
#-30,-5,0;0.5,0,0;1,0,0;1;500
6+
(0, 0, 0); (0 ,0, 0); (0, 0, 1); 1; 500
7+
(0, 5, -30); (0, 0, 0.5); (0, 1, 0); 1; 500
8+
(-30, -5, 0); (0.5, 0, 0); (1, 0, 0); 1; 500
99

1010
# 2 galaxy orbit example
11-
#0,0,0;0,0.2,0;0,0,1;1;500
12-
#0,0,-5;0,-0.2,0;0,1,0;1;500
11+
#(0, 0, 0); (0, 0.2, 0); (0, 0, 1); 1; 500
12+
#(0, 0, -5); (0, -0.2, 0); (0, 1, 0); 1; 500

0 commit comments

Comments
 (0)