HyperRogue  11.3d
game/visualization engine based on non-Euclidean geometry
Public Member Functions | Public Attributes | Friends | List of all members
hr::transmatrix Struct Reference

A matrix acting on hr::hyperpoint Since we are using homogeneous coordinates for hr::hyperpoint, rotations and translations can be represented as matrix multiplications. Other applications of matrices in HyperRogue (in dimension up to 4) are also implemented using transmatrix. More...

Public Member Functions

hyperpointoperator[] (int i)
 
const ld * operator[] (int i) const
 

Public Attributes

ld tab [MAXMDIM][MAXMDIM]
 

Friends

hyperpoint operator* (const transmatrix &T, const hyperpoint &H)
 
transmatrix operator* (const transmatrix &T, const transmatrix &U)
 

Detailed Description

A matrix acting on hr::hyperpoint Since we are using homogeneous coordinates for hr::hyperpoint, rotations and translations can be represented as matrix multiplications. Other applications of matrices in HyperRogue (in dimension up to 4) are also implemented using transmatrix.


The documentation for this struct was generated from the following file: