1
0
Fork 0

Should Fix sign flipping.

Fixes #1118
This commit is contained in:
Alexander Harkness 2015-05-16 16:49:47 +01:00
parent 0b536701b4
commit bda9b3e342
1 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ public:
// There are 16 meta values which correspond to different directions.
// These values are equated to angles on a circle; 0x08 = 180 degrees.
return (a_Meta < 0x08) ? (0x08 + a_Meta) : (0x08 - a_Meta);
return (a_Meta > 0x08) ? (0x08 - a_Meta) : (0x18 - a_Meta);
}
@ -81,7 +81,7 @@ public:
// There are 16 meta values which correspond to different directions.
// These values are equated to angles on a circle; 0x10 = 360 degrees.
return 0x10 - a_Meta;
return 0x0f - a_Meta;
}
} ;