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

intra:: walking mode

This commit is contained in:
Zeno Rogue
2022-02-26 10:40:39 +01:00
parent cfaa52cf42
commit 94d660cc43
3 changed files with 194 additions and 11 deletions

View File

@@ -2066,7 +2066,7 @@ void uniform2(GLint id, array<float, 2> fl) {
color_t color_out_of_range = 0x0F0800FF;
transmatrix get_ms(cell *c, int a, bool mirror) {
EX transmatrix get_ms(cell *c, int a, bool mirror) {
int z = a ? 1 : -1;
if(c->type == 3) {
@@ -2096,7 +2096,7 @@ transmatrix get_ms(cell *c, int a, bool mirror) {
int nesting;
transmatrix mirrorize(transmatrix T) {
EX transmatrix mirrorize(transmatrix T) {
T = inverse(T);
hyperpoint h = tC0(T);
ld d = hdist0(h);