Skip to content

Fix disappearing labels in tall views

In tall views (where height>width), labels often did not appear on the right side of the view (x position near 1.0) because they were detected as outside of the camera frustum.

The problem was that anchor point coordinates were in the range of 0.0-1.0, while camera frustum planes x position were between -aspect and +aspect.

There was also a small (probably copy-paste) bug in the culling bounds computation.

@ben.boeckel @demarle

Merge request reports