forked from Dynamitos/Seele
Initial environment loading (not working)
This commit is contained in:
1 parent
4a34220cd7
commit
aa1f037cb5
41 files changed
+553
-208
No files matched your search
@@ -53,6 +53,12 @@ class Viewport {
|
||||
constexpr float getContentScaleX() const { return owner->getContentScaleX(); }
|
||||
constexpr float getContentScaleY() const { return owner->getContentScaleY(); }
|
||||
Matrix4 getProjectionMatrix() const;
|
||||
URect getRenderArea() const {
|
||||
return URect{
|
||||
.size = {sizeX, sizeY},
|
||||
.offset = {offsetX, offsetY},
|
||||
};
|
||||
}
|
||||
|
||||
protected:
|
||||
uint32 sizeX;
|
||||
|
||||
Reference in new issue
Block a user