Commit Graph

284 Commits

Author SHA1 Message Date
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
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
Zeno Rogue 6de0f0a8aa instead of nonbitrunc, gp::on and irr::on, there is one variable, variation 2018-08-28 17:17:34 +02:00
Zeno Rogue 1c8f0e7e37 inverse_error as a separate function (helps with debugging) 2018-08-19 22:54:11 +02:00
Zeno Rogue e1c49a83fa fixed displayspin in syntetic 2018-08-19 16:28:36 +02:00
Zeno Rogue 253c2d8b9b bitruncated irregular tilings 2018-08-05 05:07:34 +02:00
Zeno Rogue d8f63a9f3d moved mid3 and mid_at functions to hyperpoint.cpp 2018-08-04 22:35:15 +02:00
Zeno Rogue 6c0a052470 device orientation-based scrolling on mobiles 2018-07-23 16:17:49 +02:00
Zeno Rogue 2b1d189074 geometry improvements 2018-07-16 20:06:21 +02:00
Zeno Rogue 4c619e60dd moved all the HyperRogue stuff except RogueViz to namespace 'hr' -- useful when using hr as a library 2018-06-11 01:58:31 +02:00
Zeno Rogue fc964ec7b2 simplified hyperpoint.cpp a bit 2018-05-20 15:30:43 +02:00
Zeno Rogue 308a51bbd9 missing from elliptic fix 2018-05-20 15:16:38 +02:00
Zeno Rogue 0197063fb6 ODS projection now works in Euclidean and hyperbolic 2018-05-15 23:29:44 +02:00
Zeno Rogue 1346583a7c clamp hdist just in case 2018-05-01 19:35:09 +02:00
Zeno Rogue 02aac914d4 10.3s 2018-05-01 00:20:20 +02:00
Zeno Rogue 323893094f improvements in the two-point model on the sphere 2018-04-21 12:18:33 +02:00