Skip to content

Make projection matrix members mutable - #467

Open
gpx1000 wants to merge 1 commit into
KhronosGroup:mainfrom
gpx1000:fix/370-const-correctness-doc
Open

Make projection matrix members mutable#467
gpx1000 wants to merge 1 commit into
KhronosGroup:mainfrom
gpx1000:fix/370-const-correctness-doc

Conversation

@gpx1000

@gpx1000 gpx1000 commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

GetProjectionMatrix() const assigned to projectionMatrix/projectionDirty, which won't compile. Marking those members mutable fixes it while keeping the getter correctly const, instead of dropping const from the method.

Fixes #370.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Assignment to perspectiveMatrix breaks const-correctness

1 participant