Example #1
0
 /** Sets the current element to the identity matrix. */
 public static void makeIdent(State state) {
   ModelMatrixElement elt = getInstance(state);
   elt.makeEltIdent();
 }
Example #2
0
 /** Multiplies the current element by the given matrix. */
 public static void mult(State state, Mat4f matrix) {
   ModelMatrixElement elt = getInstance(state);
   elt.multElt(matrix);
 }