OrthographicProjection constructor
OrthographicProjection({})
Creates an orthographic projection.
Implementation
OrthographicProjection({
(double, double)? center,
double scale = 1,
Point? translate,
(double, double, double)? rotate,
}) {
if (center != null) this.center = center;
this.scale = scale;
if (translate != null) this.translate = translate;
if (rotate != null) {
_rotate0 = rotate.$1;
_rotate1 = rotate.$2;
_rotate2 = rotate.$3;
}
}