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

198 Commits

Author SHA1 Message Date
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
Zeno Rogue
db351d9511 fixed direct_exp in 2D 2019-09-12 22:50:15 +02:00
Zeno Rogue
47d309e408 fixed hdist computation in SL, also fixed hpxy and hpxy 2019-09-12 22:50:15 +02:00
Zeno Rogue
50052f27f5 pointing-to-directions now checks for the cell which is the most towards the given direction 2019-09-12 22:50:15 +02:00
Zeno Rogue
96d7496043 refactored all the operations on View 2019-09-12 22:50:15 +02:00
Zeno Rogue
fd42b45fce sl2:: 3d-models 2019-09-12 22:50:15 +02:00
Zeno Rogue
ab80b28782 constexpr on hyperpoints 2019-09-12 22:50:15 +02:00
Zeno Rogue
136b931609 PSL(2,R) 2019-09-12 22:50:15 +02:00
Zeno Rogue
e0852419fc inverse uses MDIM not GDIM 2019-09-12 22:50:15 +02:00
Zeno Rogue
429909bd56 improved documentation in hyperpoint 2019-09-12 22:50:15 +02:00
Zeno Rogue
2f954d0538 nicer handling of WDIM, GDIM, MDIM, sig 2019-09-12 22:50:15 +02:00
Zeno Rogue
597140e28d product:: wallradar and TPP 2019-09-12 22:50:15 +02:00
Zeno Rogue
201098efe9 convenience functions zforward_dir and zpush0 2019-09-12 22:50:15 +02:00
Zeno Rogue
6e599112c2 product:: made cpush0 work correctly 2019-09-12 22:50:14 +02:00
Zeno Rogue
17f7cef678 product:: fixmatrix 2019-09-12 22:50:14 +02:00
Zeno Rogue
e636d3f40c preliminary S2xE 2019-09-12 22:50:13 +02:00
Zeno Rogue
fb0f5872c8 3d models in product space 2019-09-12 22:50:13 +02:00
Zeno Rogue
00f4f4fca5 fully turnable product spaces 2019-09-12 22:50:13 +02:00
Zeno Rogue
6958cbcbd9 product:: preliminary version (no turning) 2019-09-12 22:50:13 +02:00
Zeno Rogue
96bf478482 renamed DIM to GDIM 2019-09-12 22:50:13 +02:00
Zeno Rogue
8b1c7bffe4 initial reformatting of comments for Doxygen 2019-09-12 22:50:13 +02:00
Zeno Rogue
609d1b91d3 further cleanup 2019-09-12 22:50:13 +02:00
Zeno Rogue
a9ff4e64f8 moved transpose to hyperpoint 2019-09-12 22:50:12 +02:00
Zeno Rogue
aa1b3f3057 moved hyperpoint inlines to hyperpoint.cpp 2019-09-12 22:50:12 +02:00
Zeno Rogue
986bf0ee9a removed the dhypot functions 2019-09-12 22:50:12 +02:00
Zeno Rogue
9a84d94282 removed operator == (already defined for arrays) 2019-09-12 22:50:12 +02:00
Zeno Rogue
2cf6abb273 removed rotmatrix as it did exactly the same as cspin 2019-09-12 22:50:12 +02:00
Zeno Rogue
cb666fb24a more header shifting 2019-09-12 22:50:12 +02:00
Zeno Rogue
c2d56fb9bc autohdr.h applied in more files 2019-09-12 22:50:12 +02:00
Zeno Rogue
c131e21198 namespace hyperpoint_vec removed 2019-09-12 22:50:12 +02:00
Zeno Rogue
60bf28f359 transmatrix back to old definition (some weird bugs?) but improved 2019-09-12 22:50:12 +02:00
Zeno Rogue
0dab4aee57 solnil -> nonisotropic 2019-09-12 22:50:12 +02:00
Zeno Rogue
4f27b12ca2 nilv:: preliminary implementation 2019-09-12 22:50:11 +02:00
Zeno Rogue
ad5ec24e7b transmatrix now implemented as an array of hyperpoints 2019-09-12 22:50:11 +02:00
Zeno Rogue
7eae04e2ea hyperpoint:: ortho_error 2019-09-12 22:50:11 +02:00
Zeno Rogue
a6b71facfb fixed spin_towards 2019-09-12 22:50:11 +02:00
Zeno Rogue
774c871c74 sol:: basic shmup works 2019-09-12 22:50:10 +02:00
Zeno Rogue
bbabd47ad0 solv:: fixmatrix 2019-09-12 22:50:10 +02:00
Zeno Rogue
598603c937 geodesics in Sol 2019-09-12 22:50:09 +02:00
Zeno Rogue
816320da94 sol:: solmul 2019-09-12 22:50:09 +02:00
Zeno Rogue
dd5d317cb3 Sol geometry 2019-09-12 22:50:09 +02:00
Zeno Rogue
946570da31 moved zpush from 3dmodels to hyperpoint 2019-09-12 22:50:09 +02:00
Zeno Rogue
1d8c086169 more exports, inlines exported 2019-09-12 22:50:08 +02:00
Zeno Rogue
4e4a3a65a7 3D:: mscale no longer does something weird in Flatten 2019-09-12 22:50:06 +02:00
Zeno Rogue
f2d8378d0c reverted change in zshift 2019-09-12 22:50:03 +02:00
Zeno Rogue
b6e303ec7d MAJOR refactoring: all geometry-dependent data (tessf, geom3::, shapes, hpc) are now contained in a structure 2019-09-12 22:50:03 +02:00
Zeno Rogue
92a22a5e3f rug :: partially generalized to 3D (but no interesting results) 2019-09-12 22:50:02 +02:00
Zeno Rogue
295f0bc388 2D3D:: irregular maps 2019-09-12 22:50:01 +02:00
Zeno Rogue
24b66d6fd5 2D3D: fixed Goldberg 2019-09-12 22:50:00 +02:00
Zeno Rogue
79de14b649 fixed problems with Euclidean [move before] 2019-09-12 22:50:00 +02:00
Zeno Rogue
9a21401b9c item/monster icons in 3d 2019-09-12 22:49:56 +02:00
Zeno Rogue
26a10b015a 2d3d:: space rocks no longer try to 'randomly spin' into space 2019-09-12 22:49:47 +02:00
Zeno Rogue
d5dc3f2176 refactored grid, and made it display nicely in 2d3d 2019-09-12 22:49:46 +02:00
Zeno Rogue
c90eeccbbe fixed random_spin() (wrong multiplication order) 2019-09-12 22:49:40 +02:00
Zeno Rogue
00b601b1de 2d3d:: no more matrix/unmappable warnings 2019-09-12 22:49:22 +02:00
Zeno Rogue
152ca6aacf sanity checked the matrices in swapmatrix 2019-09-12 22:43:02 +02:00
Zeno Rogue
6a7c1438eb 2D3D:: Archimedean no longer crashes after changing 2019-09-12 22:43:01 +02:00
Zeno Rogue
f8247073e7 2D-as-3D works in all geometries 2019-09-12 22:43:01 +02:00
Zeno Rogue
1c4d86e0e9 3D graphics in 2D (first commit) 2019-09-12 22:43:01 +02:00
Zeno Rogue
94ccddb873 eqmatrix now actually takes its 'eps' argument into account 2019-09-12 22:43:00 +02:00
Zeno Rogue
6e26508a77 replaced some instances of double to ld, so that everything compiles when ld is redefined to float 2019-09-12 22:43:00 +02:00
Zeno Rogue
e28373448d missing functions acos_auto and edge_of_triangle_with_angles 2019-09-12 22:43:00 +02:00
Zeno Rogue
36b4b60d46 3d::draw:: added shading 2019-09-12 22:42:58 +02:00
Zeno Rogue
5356eba11c Asteroids 2019-09-12 22:42:58 +02:00
Zeno Rogue
2b61413a81 azimuthal equivolume projection 2019-09-12 22:42:58 +02:00
Zeno Rogue
3508a42efc mzscale in 3D no longer tries to do weird things 2019-09-12 22:38:47 +02:00
Zeno Rogue
0e10dec9e2 added some exports to hyper.h and rogueviz.h 2019-09-12 22:38:46 +02:00
Zeno Rogue
7f6957694a moved inline functions to hyper.h 2019-09-12 22:38:45 +02:00
Zeno Rogue
7e2f6629fd fixed a bug with hdist returning nan due to precision errors 2019-09-12 22:38:43 +02:00
?
54f278963c renamed MAXDIM to MAXMDIM (conflict with crystal) 2019-09-12 22:38:42 +02:00
?
041c7af987 3d:: *_d functions now consistently put d as the first argument 2019-09-12 22:38:42 +02:00
?
3780343367 fixed 2D binary tiling 2019-09-12 22:38:40 +02:00
?
5ae2714e37 C0 and Cx1 now changes depending on DIM 2019-09-12 22:38:40 +02:00
?
3b030471b0 fixed a bug in inverse caused by precision issues 2019-09-12 22:38:40 +02:00
?
a89dc002cd fixed some bugs in hyperpoint.cpp 2019-09-12 22:38:40 +02:00
?
d08e58f404 3d:: 2D/3D is now selectable at runtime 2019-09-12 22:38:40 +02:00
?
c3edbc0247 3D:: mscale performs zpush when in 3D 2019-09-12 22:38:40 +02:00
?
56d628d4d8 adjusting for 3D part II 2019-09-12 22:38:39 +02:00
?
96e4ff6c9d binary tiling in 3D works 2019-09-12 22:38:39 +02:00
?
e73d2f2f22 some work on 3D view 2019-09-12 22:38:39 +02:00
?
dd0f573ca9 hyperpoint adjusted for 3D geometry 2019-09-12 22:38:39 +02:00
Zeno Rogue
e244e3cff8 parabolic1 generates a straight line in Euclidean 2018-12-14 19:27:12 +01:00
Zeno Rogue
c45fa9bd9a refactored binarytiling::parabolic to parabolic1 in hyperpoint 2018-12-11 22:10:53 +01:00
Zeno Rogue
2fa265ac10 implemented a better system for logging and binary output 2018-11-24 21:23:02 +01:00
Zeno Rogue
e7b90fdb05 fixed some minor issues with HyperRogue's 3D 2018-11-18 18:26:56 +01:00
Zeno Rogue
f1b6cc0f48 ringcolor improvements 2018-11-11 11:25:59 +01:00
Zeno Rogue
c9dbeec393 added some exports to hyper.h 2018-09-10 17:26:27 +02:00