mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
add modelviewer test to code_editor.xml
This commit is contained in:
parent
7a25560bc0
commit
1366316895
2 changed files with 2 additions and 1 deletions
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue