diff --git a/glhr.cpp b/glhr.cpp index b0a9573c..fbcdfb8a 100644 --- a/glhr.cpp +++ b/glhr.cpp @@ -50,6 +50,7 @@ struct glmatrix { GLfloat* as_array() { return a[0]; } const GLfloat* as_array() const { return a[0]; } array& as_stdarray() { return *(array*)this; } + const array& as_stdarray() const { return *(array*)this; } }; glvertex pointtogl(const hyperpoint& t);