public static final void applyTransform(GL2 gl,Transform t){
  Vector2 tr=t.getTranslation();
  gl.glTranslated(tr.x,tr.y,0.0);
  gl.glRotated(Math.toDegrees(t.getRotation()),0.0,0.0,1.0);
}

public static final void applyTransform ( GL2 gl , Transform t ) { Vector2 tr = t . getTranslation ( ) ; gl . glTranslated ( tr . x , tr . y , 0.0 ) ; gl . glRotated ( Math . toDegrees ( t . getRotation ( ) ) , 0.0 , 0.0 , 1.0 ) ; }
applies the given transform to the given opengl context .
