/** * Multiply the vertex v for this Matrix and override v with the result. Return the omogeneus * component of the transformation */ public float mult(Vertex3f v) { float x = v.getX(); float y = v.getY(); float z = v.getZ(); v.setX(mM.A * x + mM.B * y + mM.C * z + mM.D); v.setY(mM.E * x + mM.F * y + mM.G * z + mM.H); v.setZ(mM.I * x + mM.L * y + mM.M * z + mM.N); return (mM.O * x + mM.P * y + mM.Q * z + mM.R); }