Commit graph

17 commits

Author SHA1 Message Date
the_fiddler 050eddbbd9 Added ToString() method. Added documentation. 2007-11-08 15:55:38 +00:00
the_fiddler 61b1a4f804 Added SizeInBytes readonly field. Made UnitX/Y/Z fields readonly. 2007-11-06 20:59:39 +00:00
the_fiddler ef8873904e Throw exception when encountering a singular matrix on matrix inversion. Add indexer: (Matrix4[i, j]) (not implemented yet) 2007-11-06 14:03:05 +00:00
the_fiddler 5409a5d6b5 Removed (IntPtr) and (float*) cast operators. Added this indexer (Vector3[0], Vector3[0] etc) 2007-11-06 14:01:35 +00:00
the_fiddler d25278e25e Renamed Min/Max to ComponentMin/ComponentMax and added Min and Max functions based on vector length. 2007-11-06 14:00:03 +00:00
the_fiddler 020a31bc81 Added Box2 class. 2007-11-06 13:32:17 +00:00
the_fiddler cd1b48f207 New math classes by george. 2007-11-04 15:34:04 +00:00
the_fiddler 95da49b8e8 Completed the OpenTK.Math Vector[234] overhaul. Added LengthFast and NormalizeFast functions. Removed overloads. Made the pointer conversions explicit. 2007-10-24 23:40:06 +00:00
the_fiddler 1d8e5545da Added InverseSqrtFast. Vector2.LengthFast uses this to approximate the magnitude. 2007-10-24 23:23:24 +00:00
the_fiddler b675c7e621 Fixed compilation issue. Added OpenTK.Math.Functions. 2007-10-24 17:34:34 +00:00
the_fiddler 9e5de11616 Improved the Vector2 interface. Vector2.Add/Sub/Dot/Scale no longer create temporary objects. Removed Vector3/4 overloads. 2007-10-24 17:26:05 +00:00
the_fiddler a267b4a381 Vector and example updates. 2007-09-25 21:11:16 +00:00
the_fiddler 146fef1135 Complete Vector2, Vector3 and Vector4 structs. 2007-09-25 15:46:52 +00:00
the_fiddler 27d8c47403 Fixed cast issues with Math.Sqrt. 2007-09-24 20:56:17 +00:00
the_fiddler d39787c9de Added length, normal and scale calculations. 2007-09-24 20:18:51 +00:00
the_fiddler 4b29b626b8 Vector23 math and operator overloads. 2007-09-24 20:11:44 +00:00
the_fiddler 0e3a330065 Added initial OpenTK.Math implementation. Contains Vector2, Vector3 and Vector4 structs. 2007-09-21 23:38:19 +00:00