mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-01-31 06:50:16 +00:00
part now works on unsigned col
This commit is contained in:
@@ -497,6 +497,10 @@ unsigned char& part(int& col, int i) {
|
||||
unsigned char* c = (unsigned char*) &col; return c[i];
|
||||
}
|
||||
|
||||
unsigned char& part(unsigned& col, int i) {
|
||||
unsigned char* c = (unsigned char*) &col; return c[i];
|
||||
}
|
||||
|
||||
bool in_twopoint = false;
|
||||
|
||||
ld glhypot2(glvertex a, glvertex b) {
|
||||
|
||||
Reference in New Issue
Block a user