return f;
}
public static void transformVectors(float[] vectors, Matrix4x4 matrix, int start, int num) {
for (int i = start; i < start + num; i+= 3) {
Vector3 vec = new Vector3(vectors[i], vectors[i + 1], vectors[i + 2]);
Vector3 transformed = matrix.transformVector(vec);
copyVector3(transformed, vectors, i, 1);
}
}