Vecmath is yet another vector math library for java. It was created so that it could be optimized for usage in WebGL and WebGPU projects.
The library is released to Maven Central and can be downloaded using normal dependency download mechanisms. The Maven dependency is:
<dependency>
<groupId>org.realityforge.vecmath</groupId>
<artifactId>vecmath</artifactId>
<version>0.13</version>
</dependency>
The project was released as open source so others could benefit from the project. We are thankful for any contributions from the community. A Code of Conduct has been put in place and a Contributing document is under development.
The project is licensed under Apache License, Version 2.0.
The toolkit took inspiration from a number of different frameworks. The authors familiarity with with the
javax.vecmath
package from the Java3D suite means that it is likely that many affordances originated with
that package. The author was also using the JOML (a Java math library for OpenGL rendering calculations
) and glMatrix (a Javascript Matrix and Vector library for High Performance WebGL apps
) libraries while evolving this project.