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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user