mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-06-19 06:38:03 +00:00
Fixed line endings.
This commit is contained in:
parent
00dc559578
commit
eb811d16b7
|
@ -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