aspectRatio property

double get aspectRatio

The frustum's width over its height, which a viewport should match.

Implementation

double get aspectRatio => (tanRight - tanLeft) / (tanUp - tanDown);