mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
const version of glmatrix::as_stdarray
This commit is contained in:
parent
93f145adb0
commit
3477371ffd
1
glhr.cpp
1
glhr.cpp
@ -50,6 +50,7 @@ struct glmatrix {
|
||||
GLfloat* as_array() { return a[0]; }
|
||||
const GLfloat* as_array() const { return a[0]; }
|
||||
array<float, 16>& as_stdarray() { return *(array<float, 16>*)this; }
|
||||
const array<float, 16>& as_stdarray() const { return *(array<float, 16>*)this; }
|
||||
};
|
||||
|
||||
glvertex pointtogl(const hyperpoint& t);
|
||||
|
Loading…
Reference in New Issue
Block a user