![]() |
HyperRogue
11.3d
game/visualization engine based on non-Euclidean geometry
|
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 | |
hyperpoint & | operator[] (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) |
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.