mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +00:00
LibGL: Implement glMultMatrixd
This commit is contained in:
parent
60fa921daa
commit
4a36d6b439
2 changed files with 6 additions and 0 deletions
|
@ -67,6 +67,11 @@ static constexpr Matrix4x4<O> transpose_input_matrix(I const* matrix)
|
|||
// clang-format on
|
||||
}
|
||||
|
||||
void glMultMatrixd(GLdouble const* matrix)
|
||||
{
|
||||
g_gl_context->gl_mult_matrix(transpose_input_matrix<double, float>(matrix));
|
||||
}
|
||||
|
||||
void glMultMatrixf(GLfloat const* matrix)
|
||||
{
|
||||
g_gl_context->gl_mult_matrix(transpose_input_matrix<float, float>(matrix));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue