Commit Graph

56 Commits

Author SHA1 Message Date
Volodymyr Patuta 93afaab0c3 new structure object_t
It contains a surface, an ID (star=0, planet=1, moon=2) and its params.
2021-01-02 23:08:47 +01:00
Volodymyr Patuta 82ad5010fd fix typo + planet sizes more logical (in sun scale * 12) 2021-01-02 18:35:37 +01:00
Volodymyr Patuta 7a1097eecc update README 2021-01-01 21:54:04 +01:00
Volodymyr Patuta fd43567b3c http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf
By the draft C99 standart section 6.7.8 paragraph 10:
    an object that has static storage duration is not initialized explicitly, then:
	— if it has pointer type, it is initialized to a null pointer;
2021-01-01 20:39:27 +01:00
Volodymyr Patuta c094eb0514 format 2021-01-01 20:13:07 +01:00
Volodymyr Patuta 8c8d9fbf0c fix look at Pluto coords, removed 2 args from draw_object 2021-01-01 17:03:55 +01:00
Volodymyr Patuta 57bf61d755 prototype 2021-01-01 16:13:34 +01:00
Volodymyr Patuta cf7b27ef0c formating + switch off overview withh 1-9 keybindings 2021-01-01 15:13:09 +01:00
Volodymyr Patuta 57726d85d1 simplified repeating code 2020-12-31 19:51:14 +01:00
Volodymyr Patuta c357e513b5 optimizing by removing useless loops 2020-12-31 18:18:08 +01:00
Volodymyr Patuta 4f75b647bf left-right look is at constant speed 2020-12-31 17:23:54 +01:00
Volodymyr Patuta 00150523c4 restore planets position after planet view 2020-12-31 16:54:22 +01:00
Volodymyr Patuta 7093660729 no pause when looking at an object 2020-12-31 16:12:36 +01:00
Volodymyr Patuta 5c015f183d refactoring 2020-12-31 15:18:38 +01:00
Volodymyr Patuta 61ec04c349 update README 2020-12-31 14:33:08 +01:00
Volodymyr Patuta e8478c5e1d update README 2020-12-31 14:24:34 +01:00
Volodymyr Patuta 5ccf0ed4fd added epic space music 2020-12-31 14:10:18 +01:00
Volodymyr Patuta f0471ffc32 commenting + added key to quit 2020-12-29 01:32:15 +01:00
Volodymyr Patuta 35de6e9c2b check 2020-12-28 16:19:21 +01:00
Volodymyr Patuta 0ec41a0c8d toggle overview + fixed movement to the planets 2020-12-28 16:18:53 +01:00
Volodymyr Patuta 33c7215e02 goto each planet on keypress 2020-12-28 15:39:22 +01:00
Volodymyr Patuta e8a7a266d2 Merge branch 'master' of code.up8.edu:fiplox/systeme-solaire 2020-12-26 20:13:04 +01:00
Volodymyr Patuta 11a1d40749 added all moons 2020-12-26 20:12:49 +01:00
Volodymyr Patuta fcff06fe9b Update README.md 2020-12-26 13:00:14 +00:00
Volodymyr Patuta dba3424615 Update README.md 2020-12-25 20:10:49 +00:00
Volodymyr Patuta 21ee21b900 Add README.md 2020-12-25 19:19:41 +00:00
Volodymyr Patuta 539ed1034d decreased frustrum values to be able to zoom to planets/lunes that are small, 0 to see the Sun 2020-12-23 19:14:37 +01:00
Volodymyr Patuta 82b0f7df59 added moon + mouse X control and no more Y mouse control 2020-12-23 16:34:52 +01:00
Volodymyr Patuta 33d32936b2 rotate 180 2020-12-23 16:33:54 +01:00
Volodymyr Patuta 2610fa9ebf more accurate distance 2020-12-22 16:55:56 +01:00
Volodymyr Patuta 549d59e873 camera y position control by arrows UP/DOWN 2020-12-22 16:04:12 +01:00
Volodymyr Patuta 1197e69fa4 rotation angles 2020-12-22 15:45:10 +01:00
Volodymyr Patuta 0d8b70f77f added all planets 2020-12-22 15:31:33 +01:00
Volodymyr Patuta bd43f5bc79 proper scale, 1min == 1day, accel/deccel time, object scale x12, orbit movement 2020-12-22 14:35:23 +01:00
Volodymyr Patuta 456a3e0a76 name 2020-12-22 13:53:42 +01:00
Volodymyr Patuta 81462a084c planets in a vector, easier to manipulate 2020-12-20 13:28:41 +01:00
Volodymyr Patuta 0ae64708ab added venus and earth 2020-12-20 13:14:49 +01:00
Volodymyr Patuta 1ae25d4e14 cam y, mouse, mercury orital mouvement, pause 2020-12-20 12:28:30 +01:00
Volodymyr Patuta b47ad1a11d GLuint to uint 2020-12-19 18:14:39 +01:00
Volodymyr Patuta 432d01485e mouse for y 2020-12-19 16:56:01 +01:00
Volodymyr Patuta 9704be8cdb rotation depending of time 2020-12-18 09:08:19 +01:00
Volodymyr Patuta 305a814484 playing with sphere size 2020-12-18 08:41:32 +01:00
Volodymyr Patuta 944c019589 ignore binary 2020-12-18 08:23:50 +01:00
Volodymyr Patuta f4c888767b rename prog name 2020-12-18 08:23:22 +01:00
Volodymyr Patuta aaa7a88730 more playing with camera 2020-12-18 08:12:23 +01:00
Volodymyr Patuta a0236fafe0 playing with camera 2020-12-13 12:04:32 +01:00
Volodymyr Patuta b8a70ebdee sun and moon 2020-12-12 23:00:22 +01:00
Volodymyr Patuta 2f5fb2629b Earth textures 2020-12-12 22:58:25 +01:00
Volodymyr Patuta 5afad30a2c textures for some planets 2020-12-12 22:56:01 +01:00
Volodymyr Patuta 396acdcbdd test git config 2020-12-12 22:51:20 +01:00