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
1 changed files with 1 additions and 0 deletions

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