1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

const version of glmatrix::as_stdarray

This commit is contained in:
Zeno Rogue 2019-10-26 14:34:44 +02:00
parent 93f145adb0
commit 3477371ffd

View File

@ -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);