HyperRogue  11.3d
game/visualization engine based on non-Euclidean geometry
Classes | Namespaces | Functions | Variables
geometry2.cpp File Reference

Matrices to transform between coordinates of various cells, coordinates of cell corners, etc. More...

#include "hyper.h"

Classes

struct  hr::horo_distance
 

Namespaces

 hr
 

Functions

transmatrix & hr::ggmatrix (cell *c)
 
EX void hr::fixelliptic (transmatrix &at)
 
EX void hr::fixelliptic (hyperpoint &h)
 
EX transmatrix hr::relative_matrix_recursive (heptagon *h2, heptagon *h1)
 
EX transmatrix hr::master_relative (cell *c, bool get_inverse IS(false))
 
EX transmatrix hr::calc_relative_matrix (cell *c2, cell *c1, const hyperpoint &hint)
 
template<class T , class U >
void hr::virtualRebase_cell (cell *&base, T &at, const U &check)
 
template<class T , class U >
void hr::virtualRebase (cell *&base, T &at, const U &check)
 
EX void hr::virtualRebase (cell *&base, transmatrix &at)
 
EX void hr::virtualRebase (cell *&base, hyperpoint &h)
 
EX bool hr::no_easy_spin ()
 
EX transmatrix hr::ddspin (cell *c, int d, ld bonus IS(0))
 
EX transmatrix hr::iddspin (cell *c, int d, ld bonus IS(0))
 
EX ld hr::cellgfxdist (cell *c, int d)
 
EX transmatrix hr::ddspin_side (cell *c, int d, ld bonus IS(0))
 
EX transmatrix hr::iddspin_side (cell *c, int d, ld bonus IS(0))
 
int hr::neighborId (heptagon *h1, heptagon *h2)
 
EX double hr::randd ()
 
EX hyperpoint hr::randomPointIn (int t)
 
EX hyperpoint hr::get_corner_position (cell *c, int cid, ld cf IS(3))
 
EX hyperpoint hr::nearcorner (cell *c, int i)
 
EX hyperpoint hr::farcorner (cell *c, int i, int which)
 
EX hyperpoint hr::midcorner (cell *c, int i, ld v)
 
EX hyperpoint hr::get_warp_corner (cell *c, int cid)
 

Variables

gp::local_info hr::gp::draw_li
 
EX bool hr::approx_nearcorner = false
 

Detailed Description

Matrices to transform between coordinates of various cells, coordinates of cell corners, etc.