Ejemplo n.º 1
0
 @Override
 public void setSpecifiedViewport(
     edu.cmu.cs.dennisc.scenegraph.AbstractCamera sgCamera,
     edu.cmu.cs.dennisc.math.immutable.MRectangleI viewport) {
   this.setSpecifiedViewportAsAwtRectangle(
       sgCamera, edu.cmu.cs.dennisc.java.awt.RectangleUtilities.toAwtRectangle(viewport));
 }
Ejemplo n.º 2
0
 @Override
 public edu.cmu.cs.dennisc.math.immutable.MRectangleI getSpecifiedViewport(
     edu.cmu.cs.dennisc.scenegraph.AbstractCamera sgCamera) {
   return edu.cmu.cs.dennisc.java.awt.RectangleUtilities.toMRectangleI(
       this.getSpecifiedViewportAsAwtRectangle(sgCamera));
 }