mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-19 07:05:11 +00:00
moved all the HyperRogue stuff except RogueViz to namespace 'hr' -- useful when using hr as a library
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
// Hyperbolic Rogue -- hyperbolic graphics
|
||||
// Copyright (C) 2011-2018 Zeno Rogue, see 'hyper.cpp' for details
|
||||
|
||||
namespace hr {
|
||||
|
||||
ld ghx, ghy, ghgx, ghgy;
|
||||
hyperpoint ghpm = C0;
|
||||
|
||||
@@ -850,3 +852,4 @@ transmatrix atscreenpos(ld x, ld y, ld size) {
|
||||
return V;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user