1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-13 20:27:10 +00:00

first version of the Land of Dice

This commit is contained in:
Zeno Rogue
2021-05-23 15:57:39 +02:00
parent 744f03c7d6
commit feaef63f22
6 changed files with 217 additions and 4 deletions

View File

@@ -745,7 +745,7 @@ EX namespace geom3 {
// projection: projection parameter
// factor: zoom factor
ld abslev_to_projection(ld abslev) {
EX ld abslev_to_projection(ld abslev) {
if(sphere || euclid) return vid.camera+abslev;
return tanh(abslev) / tanh(vid.camera);
}