the_fiddler
8992f90571
Replaced calls to obsolete methods.
...
Fixed parameters in double versions of BaryCentric() (should be double instead of float).
2009-10-06 09:51:13 +00:00
the_fiddler
f926595b64
Obsoleted Scale() instance method (reason: redundant. Mult()/Multiply() instance/static methods can be used to achieve the same effect).
2009-10-06 09:45:09 +00:00
the_fiddler
65c6b29918
Added vector overloads to Multiply and Divide methods.
...
Renamed Sub to Subtract, Mult to Multiply and Div to Divide (reason: conform with the class library design guidelines).
Obsoleted instance Add, Sub, Mult and Div methods in favor of static ones (reason: reduce API bloat, they are completely redudant).
Improved documentation for new methods.
2009-10-06 09:42:21 +00:00
the_fiddler
6b79a2d251
Fixed formatting.
2009-10-06 08:57:48 +00:00
the_fiddler
3cfc3906b8
Obsoleted OpenTK.Functions in favor of OpenTK.MathHelper (reason: XNA compatibility).
...
Added Matrix4.LookAt overload that does not use Vector3 parameters.
2009-08-14 12:37:18 +00:00
the_fiddler
7726212921
Replaced tabs with spaces.
2009-07-17 08:27:25 +00:00
the_fiddler
df6671cb4a
Removed OpenTK.Math namespace. Math functions now go directly into the OpenTK namespace.
2009-06-25 11:42:05 +00:00
the_fiddler
857003cd3f
Added static readonly Vector[234]d?.One properties.
2009-06-04 16:51:45 +00:00
the_fiddler
5c40ce638d
Fixed a large amount of documentation warnings.
...
Marked several APIs as obsolete.
2009-06-04 11:22:20 +00:00
the_fiddler
d4aef922bc
Fixed all known build warnings, apart from missing xml comments.
2009-03-25 21:53:12 +00:00
the_fiddler
69b17fa43f
Normalize line endings and set the mime-type=text/plain and eol-style=native properties on all files.
2009-02-22 10:43:35 +00:00
chrisbrandtner
8c56d505b7
Overloaded instance methods Add, Sub, Scale to pass-vector-by-value and set CLS compliance flags.
...
Overloaded static method BaryCentric to pass-by-reference.
2009-01-24 14:54:52 +00:00
chrisbrandtner
49e132911d
Added instance methods to all single and double precision Vector structs:
...
Add(ref vec)
Sub(ref vec)
Mult(float)
Div(float)
Scale(ref vec)
2009-01-23 21:55:21 +00:00
chrisbrandtner
1eee53da4f
Added ref/out overloads to static Vector*.Dot and Vector*.Lerp methods. Simplified the slow Vector3/Vector3d's static Cross methods. Occasional tweaks to inline documentation (spelling, consistency)
2009-01-23 15:04:53 +00:00
the_fiddler
969d66e9f1
Added OpenEXR terms to the License.
...
Added Half and Vector[234]h structs.
Added Vector[234]d, Matrix4d and Quaterniond structs.
2008-12-09 20:45:18 +00:00
the_fiddler
57ff9428d6
Documented static public fields.
...
Added missing SizeInBytes field to Vector2 and Vector4.
2008-11-15 21:36:46 +00:00
the_fiddler
2af017c3ea
Added serializable attribute.
...
Added IEquatable interface and operator== overloads to Matrix4 and Vector* structs.
2008-07-10 14:01:38 +00:00
the_fiddler
0e85f2208d
Added George's patch which fixes some region strings, and adds PerpendicularLeft.
2008-04-06 15:43:35 +00:00
the_fiddler
c946bc6fb8
Added Bezier Curves. Added Factorial and BinomialCoefficient to Functions.cs. Added Vector2d?.Perpendicular
2008-03-06 21:04:53 +00:00
the_fiddler
cba3413059
Updated licensing information.
2007-11-10 23:29:25 +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