Rendering minecraft Blocks using the MinecraftPipeline

This commit is contained in:
2026-06-18 13:01:54 +01:00
parent c3070ed046
commit 54063cfd9c
9 changed files with 188 additions and 85 deletions
+29
View File
@@ -0,0 +1,29 @@
#pragma once
#include <tyra>
namespace Test {
class Block {
public:
Block();
Block(const Block& v);
~Block();
void updateModelMatrix();
Tyra::M4x4 translation, rotation, scale;
// Result matrix after transformations
Tyra::M4x4 modelMatrix;
Tyra::Color color;
Tyra::Vec4 atlasOffset;
Tyra::McpipBlock renderData;
private:
void setRenderData();
};
}