public void popMatrix() {
      if (matrixStackDepth == 0) {
        throw new RuntimeException(ERROR_PUSHMATRIX_UNDERFLOW);
      }
      matrixStackDepth--;
      ctm.set(matrixStack[matrixStackDepth]);
    }