Last change
on this file since 475 was 341, checked in by petry, 25 years ago |
First version of the Starfield Generator in this repository.
Fully functional version using the SKY2000 star catalog.
|
File size:
531 bytes
|
Line | |
---|
1 | ////////////////////////////////////////////////////////////////////
|
---|
2 | // Declaration of the class photon which will be inherited from the
|
---|
3 | // class star.
|
---|
4 | /////////////////////////////////////////////////////////////////////////
|
---|
5 |
|
---|
6 |
|
---|
7 | #ifndef _PHOTON_H_
|
---|
8 | #define _PHOTON_H_
|
---|
9 |
|
---|
10 | #include <math.h>
|
---|
11 | #include <iostream.h>
|
---|
12 | #include <stdlib.h>
|
---|
13 |
|
---|
14 |
|
---|
15 | class photon {
|
---|
16 |
|
---|
17 | public:
|
---|
18 |
|
---|
19 | float u;
|
---|
20 | float v;
|
---|
21 | int starnum;
|
---|
22 | float lambda_nm;
|
---|
23 | float arrtime_sec;
|
---|
24 | float x_m;
|
---|
25 | float y_m;
|
---|
26 |
|
---|
27 |
|
---|
28 | photon(); //Constructor function.
|
---|
29 |
|
---|
30 | };
|
---|
31 |
|
---|
32 |
|
---|
33 | #endif
|
---|
34 |
|
---|
35 |
|
---|
36 |
|
---|
37 |
|
---|
38 |
|
---|
39 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.