add modelviewer test to code_editor.xml
This commit is contained in:
parent
7a25560bc0
commit
1366316895
@ -53,6 +53,7 @@
|
|||||||
text-wrap='false'
|
text-wrap='false'
|
||||||
scroll-step='50'
|
scroll-step='50'
|
||||||
></textbox>
|
></textbox>
|
||||||
|
<modelviewer size="480" model="stairs" center="0.5,0.5,0.5" cam-rotation="45,-45,0" gravity="top-right"/>
|
||||||
</container>
|
</container>
|
||||||
<splitbox orientation="horizontal" split-pos="0.4">
|
<splitbox orientation="horizontal" split-pos="0.4">
|
||||||
<panel id="traceback" padding="4" color="#000000A0">
|
<panel id="traceback" padding="4" color="#000000A0">
|
||||||
|
|||||||
@ -34,7 +34,7 @@ public:
|
|||||||
Batch2D* getBatch2D() const;
|
Batch2D* getBatch2D() const;
|
||||||
|
|
||||||
const glm::uvec2& getViewport() 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 setViewport(const glm::uvec2& viewport);
|
||||||
void setFramebuffer(Framebuffer* fbo);
|
void setFramebuffer(Framebuffer* fbo);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user