add modelviewer test to code_editor.xml

This commit is contained in:
MihailRis 2025-05-24 20:21:08 +03:00
parent 7a25560bc0
commit 1366316895
2 changed files with 2 additions and 1 deletions

View File

@ -53,6 +53,7 @@
text-wrap='false'
scroll-step='50'
></textbox>
<modelviewer size="480" model="stairs" center="0.5,0.5,0.5" cam-rotation="45,-45,0" gravity="top-right"/>
</container>
<splitbox orientation="horizontal" split-pos="0.4">
<panel id="traceback" padding="4" color="#000000A0">

View File

@ -34,7 +34,7 @@ public:
Batch2D* getBatch2D() const;
const glm::uvec2& getViewport() const;
DrawContext sub(Flushable* flushable=nullptr) const;
[[nodiscard]] DrawContext sub(Flushable* flushable=nullptr) const;
void setViewport(const glm::uvec2& viewport);
void setFramebuffer(Framebuffer* fbo);