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

210 Commits

Author SHA1 Message Date
Zeno Rogue
f10902d1e5 fixed missing override 2024-10-11 09:29:19 +02:00
Zeno Rogue
2d8397d289 as_poly() to eliminate dynamic_cast<dqi_poly*> 2024-10-05 13:11:23 +02:00
Zeno Rogue
324b670c29 drawing:: flags now use flagtype 2024-10-05 13:07:21 +02:00
Zeno Rogue
96d5eb4127 Chinese ASCII option 2024-10-05 13:03:29 +02:00
Zeno Rogue
9db5022d54 POLY_FORCE_DEPTH flag 2024-08-21 19:20:23 +02:00
Zeno Rogue
1498b715e6 disabled can_have_inverse in S3 2024-07-21 21:27:36 +02:00
Zeno Rogue
6bbd57ecbe font system redesigned, font selection 2024-07-10 00:03:00 +02:00
Zeno Rogue
be949b3698 small_hyperboloid more universal 2024-06-28 14:00:52 +02:00
Zeno Rogue
4685c3e733 hemisphere consistent with hyperboloid 2024-06-28 00:00:33 +02:00
Zeno Rogue
9ce5c63708 new projection: polar coordinates 2024-02-22 01:16:43 +01:00
Zeno Rogue
7ad955dcff fixed two-eye rendering in stereo modes which should not cause that 2024-01-07 09:07:54 +01:00
Zeno Rogue
39ddc3dc33 fix compile bug 2023-12-02 19:34:06 +01:00
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
f2f62cf296 fixed sides in Euclidean hemisphere 2023-08-15 15:20:29 +02:00
Zeno Rogue
f3a0855df2 queuecurve_reuse 2023-08-15 14:28:38 +02:00
Zeno Rogue
e22c34b343 hemisphere in spherical 2023-08-15 14:21:19 +02:00
Zeno Rogue
b018582f44 fixed mdHyperboloid in spherical geometry 2023-08-15 11:00:43 +02:00
Zeno Rogue
63fc2c9c92 fixed get_side 2023-08-15 10:55:01 +02:00
Zeno Rogue
cb05649732 pconf.ball now a matrix (but not implemented draw_boundary yet) 2023-08-14 16:18:44 +02:00
Zeno Rogue
a7cf3c4d1c renaming also applied to drawing.cpp 2023-08-14 13:28:48 +02:00
Zeno Rogue
6806a0e7e3 renamed apply_ori to more intuitive scr_to_ori, also invert the matrix 2023-08-14 11:08:37 +02:00
Zeno Rogue
1554caa7b4 rotations are now represented as matrices, not angles 2023-08-08 16:27:52 +02:00
Zeno Rogue
61610282ca correct ordering of plain floors when z-ordering cannot be trusted in SVG or with alpha 2023-05-30 18:44:03 +02:00
Zeno Rogue
e6738f6c20 semidirect rendering 2023-05-15 02:50:41 +02:00
Zeno Rogue
e63feddb7c added MAXMDIM guards in various places 2023-04-15 01:29:59 +02:00
Zeno Rogue
d389a40bd9 removed unused variables 2023-04-15 01:14:56 +02:00
Zeno Rogue
5a4f6595e1 improved performance with MINIMIZE_GL_CALLS 2023-04-15 01:14:29 +02:00
Zeno Rogue
426c350a59 conformal square improved on sphere 2023-03-23 01:37:52 +01:00
Zeno Rogue
1b7f4b869e new Conformal Square projection (with transition and shader and Euclidean form) 2023-03-19 12:21:05 +01:00
Zeno Rogue
573304faab more detailed 3D depth settings 2023-02-18 18:32:01 +01:00
Zeno Rogue
85dffdbeff rewritten the embeddings more nicely 2023-01-27 00:27:10 +01:00
Zeno Rogue
86492d1181 Improved the UI for 'geodesic movement' setting, and also make it work correctly in SL2 and hyperbolic geometries 2022-12-25 12:14:36 +01:00
Zeno Rogue
33380fba89 noniso skies 2022-12-15 18:59:20 +01:00
Zeno Rogue
2f2e770d64 fixed a possible bug in gldraw -- ioffset instead of offset 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
42f96b768c improvements to sphere flipping 2022-12-04 14:48:12 +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
b8b1df01e7 fixed some linewidth issues 2022-10-27 16:06:39 +02:00
Zeno Rogue
a7ca4c2902 relativistic projections added 2022-10-14 00:56:48 +02:00
Zeno Rogue
4cdc7db18d curvepoint_first function to loop curves automatically 2022-10-11 19:56:56 +02:00
Zeno Rogue
73c689211f shader flag to use no fog -- useful to display ultra-ideal points 2022-10-11 19:56:37 +02:00
Arthur O'Dwyer
0ae74aad62 Fix more instances of Clang's -Wunqualified-std-cast-call 2022-07-05 13:28:00 -04:00
Zeno Rogue
88fcca886c fixed write_in_space to use poly_outline 2022-06-08 18:00:43 +02:00
Zeno Rogue
b6b32d2c2b fixed sl2 rendering 2022-05-28 18:44:42 +02:00
Zeno Rogue
a6dc4b9314 new projections mostly for Solv: Lie perspective and Lie orthogonal 2022-05-17 09:45:09 +02:00
Zeno Rogue
59078497dd arb:: support for apeirogons using '*inf' 2022-04-24 22:57:34 +02:00
Zeno Rogue
589d2dd72c hemisphere in spherical now produces the hyperboloid model 2022-04-07 20:50:16 +02:00
Zeno Rogue
8e710784df fixed scale_at for cylindrical projections 2022-03-27 22:47:50 +02:00
Zeno Rogue
00c71c5212 export curvedata 2021-12-12 00:30:07 +01:00
Zeno Rogue
96c143da8e backandfront projection option 2021-09-18 01:39:09 +02:00