1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-20 16:37:40 +00:00

geodesics in Sol

This commit is contained in:
Zeno Rogue
2019-07-28 11:07:21 +02:00
parent 9326b9594b
commit 598603c937
15 changed files with 519 additions and 162 deletions

14
hyper.h
View File

@@ -4023,7 +4023,7 @@ namespace glhr {
enum class shader_projection { standard, band, halfplane, standardH3, standardR3,
standardS30, standardS31, standardS32, standardS33,
ball, halfplane3, band3, flatten,
ball, halfplane3, band3, flatten, standardSolv,
MAX
};
@@ -5625,4 +5625,16 @@ namespace kite {
hyperpoint get_corner(cell *c, int d, ld cf);
}
#endif
namespace solv {
extern transmatrix local_perspective, ilocal_perspective;
hrmap *new_map();
bool inverse_exp(hyperpoint h, hyperpoint& res);
transmatrix get_solmul(const transmatrix T, const transmatrix V);
extern string solshader;
}
bool in_perspective();
}