mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-09 13:00:35 +00:00
Fixed line endings.
This commit is contained in:
parent
822a14ed2b
commit
b04895cadb
|
@ -796,51 +796,51 @@ namespace OpenTK.Graphics
|
||||||
Delegates.glMultTransposeMatrixf((Single*)m_ptr);
|
Delegates.glMultTransposeMatrixf((Single*)m_ptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void MultMatrix(ref Matrix4d mat)
|
public static void MultMatrix(ref Matrix4d mat)
|
||||||
{
|
{
|
||||||
unsafe
|
unsafe
|
||||||
{
|
{
|
||||||
fixed (Double* m_ptr = &mat.Row0.X)
|
fixed (Double* m_ptr = &mat.Row0.X)
|
||||||
{
|
{
|
||||||
Delegates.glMultMatrixd((Double*)m_ptr);
|
Delegates.glMultMatrixd((Double*)m_ptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void LoadMatrix(ref Matrix4d mat)
|
public static void LoadMatrix(ref Matrix4d mat)
|
||||||
{
|
{
|
||||||
unsafe
|
unsafe
|
||||||
{
|
{
|
||||||
fixed (Double* m_ptr = &mat.Row0.X)
|
fixed (Double* m_ptr = &mat.Row0.X)
|
||||||
{
|
{
|
||||||
Delegates.glLoadMatrixd((Double*)m_ptr);
|
Delegates.glLoadMatrixd((Double*)m_ptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void LoadTransposeMatrix(ref Matrix4d mat)
|
public static void LoadTransposeMatrix(ref Matrix4d mat)
|
||||||
{
|
{
|
||||||
unsafe
|
unsafe
|
||||||
{
|
{
|
||||||
fixed (Double* m_ptr = &mat.Row0.X)
|
fixed (Double* m_ptr = &mat.Row0.X)
|
||||||
{
|
{
|
||||||
Delegates.glLoadTransposeMatrixd((Double*)m_ptr);
|
Delegates.glLoadTransposeMatrixd((Double*)m_ptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void MultTransposeMatrix(ref Matrix4d mat)
|
public static void MultTransposeMatrix(ref Matrix4d mat)
|
||||||
{
|
{
|
||||||
unsafe
|
unsafe
|
||||||
{
|
{
|
||||||
fixed (Double* m_ptr = &mat.Row0.X)
|
fixed (Double* m_ptr = &mat.Row0.X)
|
||||||
{
|
{
|
||||||
Delegates.glMultTransposeMatrixd((Double*)m_ptr);
|
Delegates.glMultTransposeMatrixd((Double*)m_ptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue