add rotation/position methods to SceneAsset

This commit is contained in:
Nick Fisher
2022-08-19 16:48:46 +10:00
parent 996ab39201
commit 7dc02e4c1b
2 changed files with 38 additions and 5 deletions

View File

@@ -65,10 +65,18 @@ namespace polyvox {
void transformToUnitCube();
void setPosition(float x, float y, float z);
void setRotation(float rads, float x, float y, float z);
const utils::Entity* getCameraEntities();
size_t getCameraEntityCount();
const Entity* getLightEntities() const noexcept;
size_t getLightEntityCount() const noexcept;
private:
FilamentAsset* _asset = nullptr;