diff options
author | Sven Gothel <[email protected]> | 2023-03-19 08:04:48 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-03-19 08:04:48 +0100 |
commit | a81fff28e9380ebce877d974d402ef613b5ea850 (patch) | |
tree | 88a940532f11ebfb070b4201752161b7227fbb28 /www/sharendipity.gif | |
parent | c04c8947c7cd0788ea8a4e615887d236eb2fbbb8 (diff) |
Add Scene.PMVMatrixSetup for programmable PMVMatrix setup in Scene replacing fixed projection params; Simplify API requirements ..
Scene:
- Add Scene.PMVMatrixSetup and use it throughout Scene/Shape for reshape(), setupMatrix()
and Shape's win<->obj coordinate mappings.
- Default Scene.PMVMatrixSetup is no more moving origin to bottom-left, kept at screen-center.
- Add waitUntilDisplayer(), allowing to wait until 1st display is completed,
ensuring certain states are well set (init, reshape and 1st display on Shapes, plane-box, ..)
Shape:
- Rename setPosition() -> moveTo()
- Add getBounds(GLProfile) to retrieve AABBox before rendering,
- Enhance validateImpl(..) to allow this mode @ initial validation (only)
Diffstat (limited to 'www/sharendipity.gif')
0 files changed, 0 insertions, 0 deletions