Hi all,
I finally got to give some attention to our vec math classes again.
After some reexamination, we are going with a somewhat J3D vecmath compatible API. We used compatible class names for easier replacement into existing projects. It’s quite stripped down however. For example, there are no double formats or Color classes and no plans to make them. The source is bare (few comments) as well right now, but the Javadocs for J3D vecmath would explain the existing methods that match.
If any gets a chance let us know what you think. We are trying to get a feel for what people use the most of in the original APIs but no more than that
Also, this release does NOT use our fast math classes yet (sin/cos etc). We are still mulling the best way to allow the user to “config” it’s usage in the vecmath classes.
It is being releases under the BSD license and here is some info from the pitiful release notes in this early version.
Lite VecMath
September 26, 2003
Release Notes:
-----------------------------
General design choices:
No equals/hashcode combo
Used clonable interface instead of explicitly overridding clone.
No clamping methods
Only support floating point versions, i.e no double, int or byte classes.
No double convience methods
No need for Tuple parent types since there would only be one child class for each type
All color types dropped/unimplemented. However, the Color3f convience methods have been added to Vector3f
No epsilonEquals
Package name will change in future releases.
-----------------------------
javax.vecmath Classes partially supported:
Matrix3f
Matrix4f
.
.
No INVERT (priority 1)
---------
Quat4d
Quat4f
True quat interpolation (slerp) not implemented yet. (priority 1)
---------
Vector2f
Vector3f
General, toString output format is the same as original vecmath.
And finally the download link
http://www.imilabs.com/loader/loader/vecmathLite.jar
I went ahead and added the javadocs into the jar.