setRotation/setPosition from center

This commit is contained in:
Nick Fisher
2022-08-25 19:01:04 +10:00
parent a7f2ecf3bc
commit 09673d62b2
6 changed files with 51 additions and 6 deletions

View File

@@ -74,6 +74,9 @@ namespace polyvox {
void setBackgroundImage(const char* resourcePath);
void setCameraPosition(float x, float y, float z);
void setCameraRotation(float rads, float x, float y, float z);
private:
void createImageRenderable();
void loadResources(std::string relativeResourcePath);