add rotation/position methods to SceneAsset
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user