Simple affine transforamtions with row vectors
Math works on javax.vecmath
An AffineTransformations package is fully independent
For example programm use javagl.obj
Programm has builder, where affine transformations can be applied
// Based order for row vector
TransformBuilder builder = new TransformBuilder()
.scale(2.0f, 2.0f, 2.0f)
.rotateZ((float) Math.toRadians(45))
// .rotateX((float) Math.toRadians(90))
.rotateY((float) Math.toRadians(45))
.translate(10f, 0f, 0f);
List<Point3f> processedVertices = AffineProcessor.process(rawVertices, builder);