1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-13 07:46:00 +00:00

fixed graphics

This commit is contained in:
Zeno Rogue
2018-04-04 01:19:21 +02:00
parent 9547fe6bd6
commit 8381dd937c
4 changed files with 79 additions and 63 deletions

View File

@@ -40,15 +40,6 @@ ld integral(ld x) {
return last_int;
}
transmatrix build_matrix(hyperpoint h1, hyperpoint h2, hyperpoint h3) {
transmatrix T;
for(int i=0; i<3; i++)
T[i][0] = h1[i],
T[i][1] = h2[i],
T[i][2] = h3[i];
return T;
}
hyperpoint coord(hyperpoint h) {
// return { cos(u)*sin(v), cos(u)*cos(v), sin(u) };