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

Adjusting the floor shapes to various geometries. More...

#include "hyper.h"

Classes

struct  hr::qfloorinfo
 
struct  hr::mesher
 
struct  hr::matrixlist
 

Namespaces

 hr
 

Typedefs

typedef pair< transmatrix, vector< transmatrix > > hr::matrixitem
 

Functions

mesher hr::msh (eGeometry g, int sym, ld main, ld v0, ld v1, ld bspi, ld scale)
 
matrixitem hr::genitem (const transmatrix &m1, const transmatrix &m2, int nsym)
 
bool hr::do_kleinize ()
 
EX hyperpoint hr::kleinize (hyperpoint h)
 
void hr::addmatrix (matrixlist &matrices, hyperpoint o0, hyperpoint o1, hyperpoint o2, hyperpoint n0, hyperpoint n1, hyperpoint n2, int d, int osym, int nsym)
 
void hr::generate_matrices (matrixlist &matrices, const mesher &o, const mesher &n)
 
void hr::generate_matrices_scale (ld scale, int noft)
 
template<class T >
void hr::sizeto (T &t, int n)
 
void hr::irr::generate_floorshapes ()
 
EX void hr::gp::clear_plainshapes ()
 
void hr::gp::build_plainshape (int &id, gp::local_info &li, cell *c0, int siid, int sidir)
 
int hr::gp::get_plainshape_id (cell *c)
 
EX void hr::set_no_floor ()
 
EX void hr::set_floor (floorshape &sh)
 
EX void hr::set_floor (hpcshape &sh)
 
EX void hr::set_floor (const transmatrix &spin, hpcshape &sh)
 
EX int hr::shvid (cell *c)
 
EX struct dqi_poly * hr::draw_shapevec (cell *c, const transmatrix &V, const vector< hpcshape > &shv, color_t col, PPR prio IS(PPR::DEFAULT))
 
EX void hr::draw_floorshape (cell *c, const transmatrix &V, const floorshape &fsh, color_t col, PPR prio IS(PPR::DEFAULT))
 
EX void hr::draw_qfi (cell *c, const transmatrix &V, color_t col, PPR prio IS(PPR::DEFAULT), vector< hpcshape > floorshape::*tab IS(&floorshape::b))
 
EX void hr::viewmat ()
 
void hr::draw_shape_for_texture (floorshape *sh)
 
EX void hr::ensure_vertex_number (basic_textureinfo &bti, int qty)
 
EX void hr::ensure_vertex_number (hpcshape &sh)
 
EX void hr::bind_floor_texture (hpcshape &li, int id)
 
EX void hr::make_floor_textures ()
 

Variables

qfloorinfo hr::qfi
 
EX vector< basic_textureinfo > hr::floor_texture_vertices
 
EX vector< glvertex > hr::floor_texture_map
 
matrixlist hr::hex_matrices
 
matrixlist hr::hept_matrices
 
int hr::nsym0
 
int hr::gp::pshid [3][8][32][32][8]
 
int hr::gp::nextid
 
EX bool hr::floorshape_debug
 
auto hr::floor_hook
 
const int hr::FLOORTEXTURESIZE = 4096
 

Detailed Description

Adjusting the floor shapes to various geometries.