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
b6f13b953b
more OOP-style standard dialogs
2023-08-09 14:01:24 +02:00
Zeno Rogue
e658a471da
ray:: want_use as param_i
2023-08-08 16:28:13 +02:00
Zeno Rogue
a70e799081
raycaster:: should now work in plane embedded as Solv
2023-05-15 02:50:41 +02:00
Zeno Rogue
acfa454114
aperiodic is now distinct from kite::in
2023-03-23 01:37:52 +01:00
Zeno Rogue
395cbf3668
nilv:: the Nil model is now changeable
2023-01-30 00:02:13 +01:00
Zeno Rogue
85dffdbeff
rewritten the embeddings more nicely
2023-01-27 00:27:10 +01:00
Zeno Rogue
74b59d3331
fixed raycaster in sph_in_low; seems to still need fixing in non-regular
2022-12-15 21:17:08 +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
419837a375
ray::fixed_map changed from raycaster menu
2022-10-27 16:06:39 +02:00
Zeno Rogue
1ac22f4be1
ray:: use mapeditor::map_version to recreate the map
2022-10-27 16:06:39 +02:00
Zeno Rogue
dbf9b2b325
ray:: max_well_offset anc max_celltype can be increased
2022-09-14 23:38:45 +02:00
Zeno Rogue
dee519badd
added make_floor_textures in raycaster
2022-08-07 03:16:24 +02:00
Zeno Rogue
75f58766a2
made background screen darkening consistent and optional
2022-07-05 11:51:06 +02:00
Zeno Rogue
238422fe89
ray:: renamed deparabolic13 and enparabolic13 adding 'i' to signify that they reorder the coordinates
2022-05-17 09:45:09 +02:00
Zeno Rogue
31f70bbbfa
ray:: fixed hyperbolic fragdepth (but this should not work, some bug in GLSL?)
2022-03-27 22:47:51 +02:00
Zeno Rogue
049eb33105
ray:: fixed levellines in hyperbolic
2022-03-27 22:47:51 +02:00
Zeno Rogue
b79280e423
in non-fake 2.5D the raycaster is disabled by default
2022-03-27 22:47:51 +02:00
Zeno Rogue
21bd4d7fe0
ray:: uProjection is now always taken as a 4x4 matrix
2022-02-28 17:34:00 +01:00
Zeno Rogue
94d660cc43
intra:: walking mode
2022-02-27 01:15:45 +01:00
Zeno Rogue
015006546e
ray:: fixed dark lines in H2xR which happened when we got a=0 in quadratic equation
2022-02-27 01:15:45 +01:00
Zeno Rogue
80b9d9533c
intra:: fixed portals to/from S3 and H3
2022-02-27 01:15:45 +01:00
Zeno Rogue
6b17cd6412
intra:: fixed Euclidean portals from/to product spaces
2022-02-26 09:48:49 +01:00
Zeno Rogue
3dde8d805a
ray:: rmap_get_by_id and rmap_get_id_of
2021-12-12 00:30:44 +01:00
Zeno Rogue
839ca440ea
refer to color by HTML name in commandline arguments
2021-10-17 09:18:31 +02:00
Zeno Rogue
56af053d4b
ray:: requested in intra, no cgi_string used
2021-10-10 00:40:22 +02:00
Zeno Rogue
6e9245a6ce
ray:: param_i for ray_max_cells
2021-10-10 00:40:22 +02:00
Zeno Rogue
ea2899d7e0
ray:: iteration in intra fix
2021-10-10 00:40:22 +02:00
Zeno Rogue
09f8aefba7
ray:: reordered just in case
2021-10-10 00:40:22 +02:00
Zeno Rogue
912aab9d27
ray:: use the same shader for all starting points in intra
2021-10-10 00:40:22 +02:00
Zeno Rogue
a97fa8a95d
ray:: special maxstep and max_iter for intra
2021-10-10 00:40:22 +02:00
Zeno Rogue
a79d28fafe
more portal fixes
2021-10-10 00:40:22 +02:00
Zeno Rogue
57e58b3302
intra:: non-regular-shaped portals e.g. right-angled triangles
2021-10-10 00:40:22 +02:00
Zeno Rogue
f97282099c
intra:: binary x Z now connects to Solv/H3, fixes to product vertical
2021-10-10 00:40:22 +02:00
Zeno Rogue
a04635111c
fixed 20/21 resolution in multi-cell spaces
2021-10-10 00:40:22 +02:00
Zeno Rogue
2b8c19a6f7
ray:: works with Ternary and BinaryTiling product
2021-10-10 00:40:22 +02:00
Zeno Rogue
569c968a41
ray:: now works with Binary4 product
2021-10-10 00:40:22 +02:00
Zeno Rogue
83da34d6ac
ray:: no portal_connections if not needed
2021-10-10 00:40:22 +02:00
Zeno Rogue
43cefcaca1
ray:: fixed the names of len functions
2021-10-10 00:40:22 +02:00
Zeno Rogue
77feff1c30
ray:: renamed bt/minkowski function to deparabolic and enparabolic for cinsistency
2021-10-10 00:40:22 +02:00
Zeno Rogue
6605092515
ray:: fixup to solv portals
2021-10-10 00:40:22 +02:00
Zeno Rogue
36f3a0cf7b
ray:: do not switch if no sample
2021-10-03 18:06:39 +02:00
Zeno Rogue
8385cad774
ray:: fixed levellines
2021-10-03 18:06:27 +02:00
Zeno Rogue
74906727c6
intra:: Solv portalsP
2021-10-03 18:06:15 +02:00
Zeno Rogue
30a99f762f
ray:: step-based works with intra
2021-10-03 18:03:14 +02:00
Zeno Rogue
4f3988602c
ray:: nicer bt_to_minkowski
2021-10-03 11:16:15 +02:00
Zeno Rogue
d2c8527213
ray:: fixed intra in bt
2021-10-03 11:15:33 +02:00
Zeno Rogue
80ce840b3d
add_function in raygen
2021-10-03 10:55:07 +02:00
Zeno Rogue
6fea0c31e4
intra:: H3-bt portals (preliminary)
2021-10-03 10:19:45 +02:00