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
Zeno Rogue
6d554d6b2e
multi:: two-focus projections
2022-03-27 22:47:51 +02:00
Zeno Rogue
5a73eccd4c
an option to add more projections via plugins
2022-03-27 22:47:50 +02:00
Zeno Rogue
96c143da8e
backandfront projection option
2021-09-18 01:39:09 +02:00
Zeno Rogue
9a319e2d2a
refactored shvid_full and wall_offset as virtual functions
2021-07-09 22:32:00 +02:00
Zeno Rogue
e7a1ce6a1a
fixed model settings without CAP_COMMANDLINE
2021-06-03 13:26:10 +02:00
Zeno Rogue
f015023421
more text fixes found while translating
2021-05-24 11:42:46 +02:00
Zeno Rogue
0f767e16b6
XLAT refactor continued
2021-05-23 16:00:50 +02:00
Zeno Rogue
e78a170e7e
added some missing CAP_SDL and CAP_GL guards
2021-05-23 16:00:49 +02:00
Zeno Rogue
0f081fb1ab
stereographic projection added
2021-03-21 12:51:50 +01:00
Zeno Rogue
3940f624fd
added model: three-point equidistant
2021-03-06 11:54:25 +01:00
Zeno Rogue
b166b64006
added missing guards
2021-02-07 22:55:11 +01:00
Zeno Rogue
2b2bdbdb54
cylinder/donut view option for the torus
2021-02-07 22:55:11 +01:00
Zeno Rogue
51daac745f
projection menu improvements
2021-02-07 22:55:10 +01:00
Zeno Rogue
41628cbd1a
config:: changed hooks_config to correct hooks_configfile
2021-02-07 22:55:10 +01:00