1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-08 15:09:54 +00:00
Commit Graph

284 Commits

Author SHA1 Message Date
Zeno Rogue
e1301e10bd fixup to shift: moved the shift methods to hyperpoint, also removed _auto 2022-12-17 11:16:47 +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
6b262104fd fixed vertical in embedded_plane in noniso 2022-12-15 18:15:26 +01:00
Zeno Rogue
18cc8cbba3 small fix in euc_in_noniso 2022-12-15 11:43:43 +01:00
Zeno Rogue
10e543a44e binary-like tilings can now be embedded in Solv and variants 2022-12-15 11:43:26 +01:00
Zeno Rogue
f9552eb74e fixed forward direction 2022-12-13 23:51:28 +01:00
Zeno Rogue
4356f41621 other noniso embeddings of Euclidean 2022-12-13 23:26:44 +01:00
Zeno Rogue
f61adc2865 Nil embedding 2022-12-13 19:04:43 +01:00
Zeno Rogue
1bb8056e0d fixed eyes on sphere 2022-12-09 02:33:15 +01:00
Zeno Rogue
69af3ee4e3 embedded_plane:: safer pushing 2022-12-09 02:33:15 +01:00
Zeno Rogue
3e733ae6e9 Big change: spatial_embedding option 2022-12-09 02:33:15 +01:00
Zeno Rogue
bf001926c2 refactored the vertical movement functions 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
ed4c715a5e hyperpoint now uses det3 not det (faster and also avoids some bugs for unknown reason) 2022-08-07 03:16:24 +02:00
Zeno Rogue
31a554f077 ultra-ideal vertices should work now 2022-04-26 16:19:02 +02:00
Zeno Rogue
575fd136d7 fixed towards_inf to actually accept dist parameter 2022-04-25 00:07:37 +02:00
Zeno Rogue
24eccca370 renamed towards_ideal to towards_inf 2022-04-24 22:57:34 +02:00
Zeno Rogue
cb654ca990 tes:: fixed get_adj with infinite points 2022-04-24 22:57:34 +02:00
Zeno Rogue
5a67e7c040 reduced epsilons in hyperpoint 2022-02-27 01:15:45 +01:00
Zeno Rogue
8569242082 material works for s2xe and h2xe 2022-02-26 09:46:40 +01:00
Zeno Rogue
b866647622 fixes to parabolic 2021-10-10 00:40:22 +02:00
Zeno Rogue
4ff08f3f3e deparabolic13 in hyperpoint 2021-10-07 12:41:29 +02:00
Zeno Rogue
ac54fe909d inverse_exp more precise for very small vectors 2021-10-07 12:40:52 +02:00
Zeno Rogue
ed88c6dfbb fixed asin_auto_clamp in product 2021-09-30 14:13:19 +02:00
Zeno Rogue
6c9f7e71e1 better handling of precision errors in arcm and arb 2021-08-22 23:41:38 +02:00
Zeno Rogue
8c2dfad20f fix elliptic S3 2021-08-04 15:18:22 +02:00
Zeno Rogue
374e6a4ca9 circumscribe for H3 and S3 2021-07-09 22:32:00 +02:00
Zeno Rogue
ccc82866a9 moved circumscribe and other functions from irregular.cpp to hyperpoint.cpp 2021-07-09 22:32:00 +02:00
Zeno Rogue
2dfec288da cmirror function 2021-07-07 18:21:17 +02:00
Zeno Rogue
e819552986 dice:: shapes for other geometries 2021-06-01 13:07:55 +02:00
Zeno Rogue
eed8ba49ab hyperpoint:: added dot_d function 2021-05-17 14:22:19 +02:00
Zeno Rogue
8a6b7e5752 fixed linecross -- walls in 2.5D tes appear again 2021-05-12 20:14:33 +02:00
Zeno Rogue
42265258f2 hyperpoint:: det function is now based on the largest coordinate, making it more precise 2021-04-07 18:15:58 +02:00
Zeno Rogue
7a89ad8b19 acos_clamp function added 2021-04-07 18:15:58 +02:00
Zeno Rogue
d42d6a4c84 added point30 for clarity 2021-04-07 18:15:58 +02:00
Zeno Rogue
5a73510c4f added some guards for MAXMDIM >= 4 and CAP_SOLV 2021-03-30 11:27:48 +02:00
Zeno Rogue
7e1df6d9a3 additional convenience functions for Euclidean translations and scaling 2020-12-26 22:59:58 +01:00
Zeno Rogue
96f84c77ca random_spin3 is now a separate function 2020-12-23 23:42:09 +01:00
Zeno Rogue
35a502ae9a the rotation fix did not work in SL2 2020-11-14 15:04:52 +01:00
Zeno Rogue
96d28d173a MXDIM, and some extra comments 2020-11-01 17:37:51 +01:00
Zeno Rogue
785b1aa748 arb fixup 2020-11-01 11:32:22 +01:00
Zeno Rogue
388b4e1667 det now uses MDIM not GDIM 2020-10-06 21:09:03 +02:00
Zeno Rogue
70d92bb157 simplified ggpushxto0 2020-09-22 15:51:37 +02:00
Zeno Rogue
ee41a777d2 z_inverse does iso_inverse in iso spaces 2020-09-16 23:49:17 +02:00
Zeno Rogue
b8abcf6c11 iso_inverse for nil 2020-09-16 23:49:17 +02:00
Zeno Rogue
e26f8f5a5b optimized inverses 2020-09-16 23:49:17 +02:00
Zeno Rogue
644d20cd89 smartrange area-based 2020-08-20 16:49:47 +02:00
Zeno Rogue
c932ae4399 2D and 3D variants of det 2020-08-20 16:11:35 +02:00
Zeno Rogue
0926b98c83 fixed raycaster in twisted geometries; weirdly twisted spherical geometry 2020-08-08 16:08:51 +02:00
Zeno Rogue
191ef35d21 inverse3 function 2020-08-08 16:05:49 +02:00
Zeno Rogue
82f32607e6 MAJOR CHANGE: replaced (transmatrix,band_shift) pair with shiftmatrix 2020-07-28 22:06:14 +02:00
Zeno Rogue
7e85f07458 primitive rendering now implemented for stretched H2xE; removed the old implementation of SL(2,R) 2020-07-22 00:19:13 +02:00
Zeno Rogue
f09ed715f1 small bug fix in inverse_exp 2020-07-03 14:42:56 +02:00
Zeno Rogue
f6e617535e fixed to_other_side in sphere 2020-06-06 19:11:47 +02:00
Zeno Rogue
449966903e function project_on_triangle 2020-06-03 16:42:35 +02:00
Zeno Rogue
4b946136f0 fixed orthogonal_move for points which are already moved 2020-06-03 16:11:59 +02:00
Zeno Rogue
2f28939466 fixed material for non-SH/SL geometries 2020-05-25 23:53:31 +02:00
Zeno Rogue
afe4d58cbb split fixmatrix into cases 2020-05-15 22:53:24 +02:00
Zeno Rogue
f6448a994f imporved hyperpoint::operator[] const 2020-05-15 22:53:09 +02:00
Zeno Rogue
3f20ba9d29 getCdata and getBits: prod -> hybri 2020-05-15 18:31:32 +02:00
Zeno Rogue
ab29609b19 fixed material for SL2 2020-05-15 15:00:07 +02:00
Zeno Rogue
9b4821619a hpxy was bugged in rotspaces -> fixed 2020-05-15 14:54:33 +02:00
Zeno Rogue
a5a49ce5c9 functions 'material' and 'ultra_normalize' 2020-05-15 11:43:13 +02:00
Zeno Rogue
81350f4e51 arb:: initial commit for affine 2020-05-15 11:38:20 +02:00
Zeno Rogue
5c98118da3 gpushxto0 no longer returns an incorrect result in nonisotropic 2020-04-17 17:44:42 +02:00
Zeno Rogue
fef6894bbd geo_dist_q : like geo_dist but gives correct distance in elliptic space 2020-04-14 16:42:11 +02:00
Zeno Rogue
e4a8b73819 nisot:: nicer precision setting 2020-04-11 15:08:24 +02:00
Zeno Rogue
cfbd5f830c fixed some warnings and errors with ll to int assignment 2020-04-06 09:13:20 +02:00
Zeno Rogue
9b014ab824 constants are not static const not constexpr as older compilers do not like it 2020-04-01 11:26:45 +02:00
Zeno Rogue
90895f29ec fixed random_spin() in three dimensions 2020-03-31 20:07:03 +02:00
Zeno Rogue
0a6aae0776 added area_auto and wvolarea_auto functions 2020-03-31 20:06:37 +02:00
Zeno Rogue
0446e25ebf added some more useful math constants to hyperpoint.cpp 2020-03-31 19:02:25 +02:00
Zeno Rogue
425cbef846 lerp for hyperpouint 2020-03-29 12:01:55 +02:00
Zeno Rogue
0412f077e6 added/fixed some \brief descriptions 2020-03-27 21:47:09 +01:00
Zeno Rogue
0d5625221e product: fixed hpxy in S2xE -- the bug caused asymmetric models 2020-03-21 09:29:08 +01:00
Arthur O'Dwyer
d0a6212fd4 Remove all GCC 4.6 support; new minimum is GCC 5.4. 2020-02-15 16:22:15 -05:00
Zeno Rogue
86009d1e49 improved bucketer 2020-02-13 11:06:54 +01:00
Zeno Rogue
1acfe8becb fixed bucketer in H2xE 2020-02-07 19:45:07 +01:00
Zeno Rogue
e44c8ee53b moved normalize_flat to hyperpoint.cpp 2019-12-27 12:55:21 +01:00
Zeno Rogue
769982040d renamed solnihv:: to sn:: and solnih to sn::in() 2019-12-14 12:28:45 +01:00
Zeno Rogue
e9a0d7f817 removed fixing hdist0 in elliptic spaces 2019-12-06 13:06:11 +01:00
Zeno Rogue
f3c97f9342 product:: works with Euclidean 2019-11-30 18:06:48 +01:00
Zeno Rogue
3eee611eca nisot::local_perspective moved to display_data 2019-11-14 17:20:55 +01:00
Zeno Rogue
43bf7c5cfe fixed MAXMDIM guards 2019-11-03 14:19:11 +01:00
Zeno Rogue
272c628229 ray:: horospherical hyperbolic honeycombs 2019-11-02 10:40:22 +01:00
Zeno Rogue
aff0f4a69e ODS fixup 2019-10-21 22:43:03 +02:00
Zeno Rogue
cd04b3f8e8 precision argument for parallel_transport, and reducing it when used many times 2019-10-06 12:10:43 +02:00
Zeno Rogue
e38e001454 better distance approximation in Nil 2019-10-06 12:10:43 +02:00
Zeno Rogue
d69cb4e946 SolN manifold 2019-10-03 20:10:48 +02:00
Zeno Rogue
d6ab96f821 non-isotropic hyperbolic space 2019-10-01 05:03:46 +02:00
Zeno Rogue
8833251c8b added some missing CAP_SOLV guards 2019-09-13 19:50:12 +02:00
Zeno Rogue
e1d6f547a4 fixed GCC46 testing 2019-09-13 19:23:22 +02:00
Zeno Rogue
d4df8a970c improved ONLY_GCC46 2019-09-13 19:07:19 +02:00
Zeno Rogue
82f24b4b6c exporting necessary stuff all over (in progress) 2019-09-12 22:50:16 +02:00
Zeno Rogue
9647cbd47e added #include hyper.h to all cpp files 2019-09-12 22:50:16 +02:00
Zeno Rogue
634c0635d3 some missing exports 2019-09-12 22:50:16 +02:00
Zeno Rogue
ecc6908807 fixes for older compilers 2019-09-12 22:50:16 +02:00
Zeno Rogue
de356a1679 fixed spin_towards in nonisotropic-non-geodesic 2019-09-12 22:50:16 +02:00
Zeno Rogue
61ea588ffb shmup for product: player movement 2019-09-12 22:50:15 +02:00
Zeno Rogue
ce46243b55 get_shiftview_of used gpush instead of rgpush; fixed wallradar 2019-09-12 22:50:15 +02:00