|
HyperRogue
11.3d
game/visualization engine based on non-Euclidean geometry
|
Public Member Functions | |
| ld | eyewidth () |
| bool | stereo_active () |
| bool | in_anaglyph () |
| void | set_viewport (int ed) |
| void | set_projection (int ed) |
| void | set_mask (int ed) |
| void | set_all (int ed) |
Public Attributes | |
| cell * | precise_center |
| transmatrix | view_matrix |
| transmatrix | local_perspective |
| transmatrix | player_matrix |
| unordered_map< cell *, transmatrix > | cellmatrices |
| unordered_map< cell *, transmatrix > | old_cellmatrices |
| ld | xmin |
| ld | ymin |
| ld | xmax |
| ld | ymax |
| ld | xtop |
| ld | ytop |
| ld | xsize |
| ld | ysize |
| int | xcenter |
| int | ycenter |
| ld | radius |
| int | scrsize |
| bool | sidescreen |
| ld | tanfov |
| flagtype | next_shader_flags |
| transmatrix | which_copy |
| unordered_map< cell *, vector< transmatrix > > | all_drawn_copies |
configuration of the current view
| cell* hr::display_data::precise_center |
The cell which is currently in the center.
| transmatrix hr::display_data::view_matrix |
The current rotation, relative to precise_center.
| transmatrix hr::display_data::local_perspective |
Camera rotation, used in nonisotropic geometries.
| transmatrix hr::display_data::player_matrix |
The view relative to the player character.
| unordered_map<cell*, transmatrix> hr::display_data::cellmatrices |
On-screen coordinates for all the visible cells.
| ld hr::display_data::xmin |
Position of the current map view, relative to the screen (0 to 1).
| ld hr::display_data::xtop |
Position of the current map view, in pixels.
| int hr::display_data::xcenter |
Center of the current map view, in pixels.
| transmatrix hr::display_data::which_copy |
Which copy of the player cell?
| unordered_map<cell*, vector<transmatrix> > hr::display_data::all_drawn_copies |
On-screen coordinates for all the visible cells.
1.8.17