mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-02 22:14:30 +00:00
fixed vertical in embedded_plane in noniso
This commit is contained in:
1 parent
3233ecbfde
commit
6b262104fd
2 files changed
+12
-4
No files matched your search
+5
-1
@@ -1752,7 +1752,11 @@ EX hyperpoint xtangent(ld x) { return ctangent(0, x); }
|
||||
EX hyperpoint ztangent(ld z) { return ctangent(2, z); }
|
||||
|
||||
/** tangent vector in logical direction Z */
|
||||
EX hyperpoint lztangent(ld z) { return ctangent(2, z); }
|
||||
EX hyperpoint lztangent(ld z) {
|
||||
if(geom3::hyp_in_solnih()) return ctangent(0, z);
|
||||
if(geom3::euc_in_nil()) return ctangent(1, z);
|
||||
return ctangent(2, z);
|
||||
}
|
||||
|
||||
/** change the length of the targent vector */
|
||||
EX hyperpoint tangent_length(hyperpoint dir, ld length) {
|
||||
|
||||
Reference in new issue
Block a user