omgwtfgames / slimmath

API independent vector math library for the .NET platform
13 stars 3 forks source link

Missing Half/Half2/Half3/Half4 classes #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Used intensively whenever you need to deal with half floating point texture.

Classes are in SlimDX but not in SlimMath.

The code is an extract from SlimDX while using the following paper to implement 
the conversion : http://www.fox-toolkit.org/ftp/fasthalffloatconversion.pdf

Original issue reported on code.google.com by alx.xo...@gmail.com on 28 Nov 2010 at 11:15

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for doing this for us! I will review your code and commit it very 
soon.

Original comment by Jorgy...@gmail.com on 14 Feb 2011 at 5:44

GoogleCodeExporter commented 9 years ago

Original comment by Jorgy...@gmail.com on 14 Feb 2011 at 8:06

GoogleCodeExporter commented 9 years ago
I committed your patch, however it appears you also added code for the type 
converters which was not in the patch. Currently I just removed the type 
converter attributes from the structures. If you do have those files please 
post a patch!

Thank you very much for this work! It is much appreciated.

Original comment by Jorgy...@gmail.com on 15 Feb 2011 at 1:14

GoogleCodeExporter commented 9 years ago

Original comment by Jorgy...@gmail.com on 6 Mar 2011 at 9:57