diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-02-16 18:43:26 +0000 |
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-02-16 18:43:26 +0000 |
| commit | bcea70c226070b44cca2c20ff7d4cf29d5b018fd (patch) | |
| tree | 9fc4e8ed91d4e86aad81d92633127324e58210b2 /application/resviewer.cpp | |
| parent | Support for testing if a point/sphere is within a Frustum (diff) | |
| download | ilt-bcea70c226070b44cca2c20ff7d4cf29d5b018fd.tar.bz2 ilt-bcea70c226070b44cca2c20ff7d4cf29d5b018fd.tar.xz ilt-bcea70c226070b44cca2c20ff7d4cf29d5b018fd.zip | |
Add Renderable::preFrame for doing non-const frame prep work
In theory, this phase should be parallelisable before being pushed out
by the render loop.
Diffstat (limited to 'application/resviewer.cpp')
| -rw-r--r-- | application/resviewer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/application/resviewer.cpp b/application/resviewer.cpp index c82017b..e0c36f6 100644 --- a/application/resviewer.cpp +++ b/application/resviewer.cpp @@ -141,6 +141,7 @@ private: selectedAssetId = asset.first; selectedAsset = renderable; location = asset.second->createAt(position); + renderable->preFrame(camera); } } } |
