mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-28 16:23:08 +00:00
whirl
This commit is contained in:
1 parent
857c8c41cb
commit
22a92059b6
18 files changed
+217
-50
No files matched your search
@@ -322,6 +322,11 @@ transmatrix spintox(const hyperpoint& H) {
|
||||
return T;
|
||||
}
|
||||
|
||||
void set_column(transmatrix& T, int i, const hyperpoint& H) {
|
||||
for(int j=0; j<3; j++)
|
||||
T[j][i] = H[j];
|
||||
}
|
||||
|
||||
// reverse of spintox(H)
|
||||
transmatrix rspintox(const hyperpoint& H) {
|
||||
transmatrix T = Id;
|
||||
|
||||
Reference in new issue
Block a user