mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-31 04:54:29 +00:00
nisot::local_perspective moved to display_data
This commit is contained in:
1 parent
0f84ec8dc8
commit
3eee611eca
8 files changed
+23
-21
No files matched your search
@@ -17,6 +17,8 @@ struct display_data {
|
||||
cell *precise_center;
|
||||
/** The current rotation, relative to precise_center. */
|
||||
transmatrix view_matrix;
|
||||
/** Camera rotation, used in nonisotropic geometries. */
|
||||
transmatrix local_perspective;
|
||||
/** The view relative to the player character. */
|
||||
transmatrix player_matrix;
|
||||
/** On-screen coordinates for all the visible cells. */
|
||||
@@ -52,6 +54,7 @@ struct display_data {
|
||||
#define centerover (current_display->precise_center)
|
||||
#define gmatrix (current_display->cellmatrices)
|
||||
#define gmatrix0 (current_display->old_cellmatrices)
|
||||
#define NLP (current_display->local_perspective)
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user