setRotation/setPosition from center

This commit is contained in:
Nick Fisher
2022-08-25 19:01:04 +10:00
parent 383aad8a21
commit d78f70ac50
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);