mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-02-01 15:30:16 +00:00
ray:: now works with Binary4 product
This commit is contained in:
@@ -604,6 +604,7 @@ EX namespace bt {
|
||||
/** \brief by what factor do the lengths expand after moving one level in hr::bt::expansion_coordinate() */
|
||||
EX ld expansion() {
|
||||
if(WDIM == 2) return area_expansion_rate();
|
||||
else if(prod) return PIU( area_expansion_rate() );
|
||||
else return sqrt(area_expansion_rate());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user