There are much nicer alternative 3rd party libraries available for these bits these days.
Do you have any particular recommendations? It might help those that are just starting (and maybe some of us who've even been hiding in the background for a few years now

).
- Vecmath library seems like a nice attempt at a common Math API (used by jBullet, jPCT, etc).
- Xith3D uses a nice standalone library called OpenMali, seems pretty complete.
- Both jMonkeyEngine and Ardor3D have had nice maths packages from a long time, which I've occasionally pinched bits from.
- LibGDX has a really nice and small maths package, seems pretty optimised.
The above bits of code are either BSD licence or similarly liberal, so shouldn't be any problems in using them.