#include <stdio.h>#include <stdlib.h>#include <math.h>#include <time.h>Include dependency graph for sun.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | PI 3.14159265358979323846 |
| #define | E 2.7182818284590452354 |
| #define | abs(x) ((x) < 0 ? (-(x)) : x) |
| #define | sgn(x) (((x) < 0) ? -1 : ((x) > 0 ? 1 : 0)) |
| #define | dtr(x) ((x) * (PI / 180.0)) |
| #define | rtd(x) ((x) / (PI / 180.0)) |
| #define | fixangle(a) ((a) - 360.0 * (qFloor((a) / 360.0))) |
| #define | TERMINC 100 |
| #define | PROJINT (60 * 10) |
Functions | |
| double | jtime (struct tm *t) |
| double | kepler (double m, double ecc) |
| void | sunpos (double jd, int apparent, double *ra, double *dec, double *rv, double *slong) |
| void | projillum (short *wtab, int xdots, int ydots, double dec) |
|
|
|
|
|
|
Definition at line 34 of file sun.h. Referenced by Board::closeup(), GPRSEdit::commit(), Painter::drawBrick(), Painter::drawPrison(), Monster::eyes(), Referee::introMonster(), Board::isJump(), Board::isWay(), Referee::keyPressEvent(), Monster::move(), Board::move(), Pacman::pix(), AGPRSDevice::setSpecificAttribute(), and Board::turn(). |
|
|
|
|
|
Definition at line 30 of file sun.h. Referenced by Opietooth2::OTScan::SLOT_RefreshServices(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Referenced by dayNight(). |
|
||||||||||||
|
|
|
||||||||||||||||||||
|
Referenced by dayNight(). |
|
||||||||||||||||||||||||||||
|
Referenced by dayNight(). |
1.4.2