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]; }
|
GLfloat* as_array() { return a[0]; }
|
||||||
const GLfloat* as_array() const { return a[0]; }
|
const GLfloat* as_array() const { return a[0]; }
|
||||||
array<float, 16>& as_stdarray() { return *(array<float, 16>*)this; }
|
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);
|
glvertex pointtogl(const hyperpoint& t);
|
||||||
|
|
Loading…
Reference in New Issue