viewport method
void
viewport(
- Vector4 viewport
Implementation
void viewport(Vector4 viewport) {
if (!currentViewport.equals(viewport)) {
gl.viewport(viewport.x.toInt(), viewport.y.toInt(), viewport.z.toInt(), viewport.w.toInt());
currentViewport.setFrom(viewport);
}
}