Volodymyr Patuta
34e979895e
simplifying
...
1. bind `m` to reset speed multiplier
2. using an object_t struct
3. get object parameters from a file
4. draw all planets and moons in one loop
2021-01-02 23:22:22 +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
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
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
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
11a1d40749
added all moons
2020-12-26 20:12:49 +01: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
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
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
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
396acdcbdd
test git config
2020-12-12 22:51:20 +01:00
Volodymyr Patuta
fb9be12cab
use color is 0 by default
2020-12-12 22:49:18 +01:00
Volodymyr Patuta
28dbebbaf3
disable color
2020-12-12 22:30:59 +01:00
Volodymyr Patuta
a49f484272
left only a sphere
2020-12-12 22:27:20 +01:00
Volodymyr Patuta
3dafaede29
initial commit (sc_00_07_moteur-03)
2020-12-12 22:25:54 +01:00