georgwaechter's picture

[PATCH] Adding overloaded methods for using Matrix4 structures in GL.LoadMatrix [commited]


i have created a patch that makes the following modifications/additions to GLHelper.cs:

  • Adding LoadMatrix(ref Matrix4 mat)
  • Adding LoadTransposeMatrix(ref Matrix4 mat)
  • Adding MultTransposeMatrix(ref Matrix4 mat)
  • Modified GL.MultMatrix(Matrix4 mat) to GL.MultMatrix(ref Matrix4 mat)

The patch is attached to this message (compressed as zip-file).


Matrix.zip504 bytes


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Inertia's picture

Thank you! Great patch :)

the Fiddler's picture

Thanks. will apply tomorrow.

georgwaechter's picture

please don't forget to commit the patch to the repository :-) ... (and my math patch i send you as private message)

the Fiddler's picture