feat: modelmatrix

This commit is contained in:
2025-12-27 23:51:34 +01:00
parent e13458d793
commit 51989119ba
3 changed files with 26 additions and 11 deletions

View File

@@ -32,6 +32,11 @@ class Rendertarget {
depth[i].i = std::numeric_limits<int32_t>::max();
}
}
void clearTarget() {
for (int i = 0; i < width * height * 3; i++) {
pixels[i] = 0;
}
}
uint8_t *pixels;
decimal *depth;