use pixels in setBackgroundImagePosition and add argument for clamp

This commit is contained in:
Nick Fisher
2022-09-07 17:40:18 +10:00
parent 9e20c2e0b2
commit f956d46dfc
6 changed files with 68 additions and 47 deletions

View File

@@ -73,7 +73,7 @@ namespace polyvox {
Renderer* getRenderer();
void setBackgroundImage(const char* resourcePath);
void setBackgroundImagePosition(float x, float y);
void setBackgroundImagePosition(float x, float y, bool clamp);
void setCameraPosition(float x, float y, float z);
void setCameraRotation(float rads, float x, float y, float z);