1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 17:40:36 +00:00
Commit Graph

132 Commits

Author SHA1 Message Date
Zeno Rogue
497790e54b replaced 'simple model: projection' with 'layered equidistant' 2024-07-15 13:56:08 +02:00
Zeno Rogue
c2fa218f9f fixup to small_hyp gener 2024-06-28 14:01:26 +02:00
Zeno Rogue
be949b3698 small_hyperboloid more universal 2024-06-28 14:00:52 +02:00
Zeno Rogue
90b416f594 smaller default to top_z 2024-06-28 12:37:18 +02:00
Zeno Rogue
bcf250a9fb a better default value for ball rotation 2024-06-27 22:35:55 +02:00
Zeno Rogue
a0627495fd fixup to small hyperboloid: default 2024-06-27 22:35:10 +02:00
Zeno Rogue
3a255db948 small hyperboloid projection 2024-06-27 22:32:09 +02:00
Zeno Rogue
c16c064b21 fixed loading used model 2024-05-29 13:52:02 +02:00
Zeno Rogue
203c11f6e1 fixed used_model parameter 2024-05-27 14:20:53 +02:00
Zeno Rogue
ff8bb20a55 config:: custom parameters now have custom_do_save 2024-05-26 20:51:33 +02:00
Zeno Rogue
1c74774bfa refactored the parameter (saver/setting) system 2024-05-26 20:22:29 +02:00
Zeno Rogue
9ce5c63708 new projection: polar coordinates 2024-02-22 01:16:43 +01:00
Zeno Rogue
4c6c44cc26 variant fisheye projection 2024-01-07 12:52:50 +01:00
Zeno Rogue
34d3d67ace cleaned up stereo/high-FOV projections 2023-11-30 12:32:24 +01:00
Zeno Rogue
845237c756
Merge pull request #343 from Quuxplusone/constexpr
Change `static const` to `static constexpr` wherever possible
2023-10-19 12:31:56 +02:00
Zeno Rogue
f3d28c9105 fixed a crash on projection changing 2023-09-14 09:49:13 +02:00
Arthur O'Dwyer
62629f3e70 Change static const to static constexpr wherever possible
Since we require C++11, most of these consts can be constexpr.

Two `static const ld` remain non-compile-time-evaluable because
they depend on the runtime `log` function. One `static const cld`
remains non-compile-time because `std::complex<T>` doesn't become
constexpr until C++14.
2023-08-23 09:47:28 -08:00
Zeno Rogue
36607319fd fixed models::rotation parameter name 2023-08-15 15:45:54 +02:00
Zeno Rogue
67d38feabd camera_angle now uses matrix dialog 2023-08-14 18:08:28 +02:00
Zeno Rogue
dff8db44b0 rotate immediately when editing models::rotation 2023-08-14 17:42:15 +02:00
Zeno Rogue
757579fb18 matrix dialog now used for models::rotation 2023-08-14 17:02:34 +02:00
Zeno Rogue
cb05649732 pconf.ball now a matrix (but not implemented draw_boundary yet) 2023-08-14 16:18:44 +02:00
Zeno Rogue
3069dbd316 moved the constructor of projection_configuration to models 2023-08-14 13:49:07 +02:00
Zeno Rogue
e4562be1f5 nicer edit dialog for mori 2023-08-14 11:25:29 +02:00
Zeno Rogue
d9d92bfd84 scr_to_ori functions applied in shifted bands 2023-08-14 11:25:09 +02:00
Zeno Rogue
6806a0e7e3 renamed apply_ori to more intuitive scr_to_ori, also invert the matrix 2023-08-14 11:08:37 +02:00
Zeno Rogue
5cc7a4e527 matrix editor and saver are now transmatrix, not trans23 2023-08-10 14:38:59 +02:00
Zeno Rogue
b6f13b953b more OOP-style standard dialogs 2023-08-09 14:01:24 +02:00
Zeno Rogue
5057f10358 improved parameter animation 2023-08-09 01:01:32 +02:00
Zeno Rogue
a13ba9bdbe param_matrix 2023-08-08 17:20:39 +02:00
Zeno Rogue
1554caa7b4 rotations are now represented as matrices, not angles 2023-08-08 16:27:52 +02:00
Zeno Rogue
4c59d87a34 fixed param_custom in models 2023-08-08 11:49:49 +02:00
Zeno Rogue
cd391412aa do not display relativistic modes in model list 2023-03-25 09:25:06 +01:00
Zeno Rogue
15540e91e6 fixed a bug in mdBandAny 2023-03-19 12:21:15 +01:00
Zeno Rogue
02f0b1e714 bugfix 2023-03-16 23:18:45 +01:00
Zeno Rogue
2527398a3e availability checks configurable 2023-03-16 23:15:26 +01:00
Zeno Rogue
a434f3b063 axial angle now can be set for axial models 2023-03-16 23:13:27 +01:00
Zeno Rogue
631e44f871 fixed model flags 2023-03-16 23:12:20 +01:00
Zeno Rogue
2a354786e4 new projection: horocyclic equal-area 2023-03-16 14:42:02 +01:00
Zeno Rogue
3e733ae6e9 Big change: spatial_embedding option 2022-12-09 02:33:15 +01:00
Zeno Rogue
06523e063e used cyclefix and raddif in more places; (c)spin90, (c)spin180 and spin180 functions; rephrased M_PI in terms of TAU and x._deg when applicable 2022-11-13 16:22:55 +01:00
Zeno Rogue
9ab7bfeaae dialog:: list used in models 2022-10-27 16:06:39 +02:00
Zeno Rogue
a5a7e8a5fa deSitter projections shown in menu 2022-10-14 01:11:29 +02:00
Zeno Rogue
a7ca4c2902 relativistic projections added 2022-10-14 00:56:48 +02:00
Zeno Rogue
e6d0ff8789 perspective of any kind now has Panini 2022-10-14 00:54:51 +02:00
Zeno Rogue
d218896b63 sl2:: more projections allowed 2022-10-14 00:54:31 +02:00
Zeno Rogue
75f58766a2 made background screen darkening consistent and optional 2022-07-05 11:51:06 +02:00
Zeno Rogue
a6dc4b9314 new projections mostly for Solv: Lie perspective and Lie orthogonal 2022-05-17 09:45:09 +02:00
Zeno Rogue
ca0fc95a52 read_model now prioritizes the names from the current geometry 2022-04-07 20:51:29 +02:00
Zeno Rogue
589d2dd72c hemisphere in spherical now produces the hyperboloid model 2022-04-07 20:50:16 +02:00