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

205 Commits

Author SHA1 Message Date
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